mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix CQS signal readability-avoid-const-params-in-decls in xplat/js/react-native-github/packages [B]
Reviewed By: javache Differential Revision: D83033554
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1c2b9f9206
commit
e54f3ee14f
@@ -106,7 +106,7 @@ class RN_EXPORT [[deprecated(
|
||||
* necessary native modules methods.
|
||||
*/
|
||||
virtual void invokeCallback(
|
||||
const double callbackId,
|
||||
double callbackId,
|
||||
const folly::dynamic& arguments) = 0;
|
||||
|
||||
virtual void setGlobalVariable(
|
||||
|
||||
@@ -61,12 +61,12 @@ class RN_EXPORT [[deprecated(
|
||||
};
|
||||
|
||||
void init();
|
||||
std::string getModuleCode(const uint32_t id) const;
|
||||
void readBundle(char* buffer, const std::streamsize bytes) const;
|
||||
std::string getModuleCode(uint32_t id) const;
|
||||
void readBundle(char* buffer, std::streamsize bytes) const;
|
||||
void readBundle(
|
||||
char* buffer,
|
||||
const std::streamsize bytes,
|
||||
const std::istream::pos_type position) const;
|
||||
std::streamsize bytes,
|
||||
std::istream::pos_type position) const;
|
||||
|
||||
mutable std::unique_ptr<std::istream> m_bundle;
|
||||
ModuleTable m_table;
|
||||
|
||||
@@ -57,13 +57,13 @@ extern RN_EXPORT std::shared_mutex logTaggedMarkerImplMutex;
|
||||
extern RN_EXPORT LogTaggedMarker logTaggedMarkerImpl;
|
||||
extern RN_EXPORT LogTaggedMarker logTaggedMarkerBridgelessImpl;
|
||||
|
||||
extern RN_EXPORT void logMarker(const ReactMarkerId markerId); // Bridge only
|
||||
extern RN_EXPORT void logMarker(ReactMarkerId markerId); // Bridge only
|
||||
extern RN_EXPORT void logTaggedMarker(
|
||||
const ReactMarkerId markerId,
|
||||
ReactMarkerId markerId,
|
||||
const char* tag); // Bridge only
|
||||
extern RN_EXPORT void logMarkerBridgeless(const ReactMarkerId markerId);
|
||||
extern RN_EXPORT void logMarkerBridgeless(ReactMarkerId markerId);
|
||||
extern RN_EXPORT void logTaggedMarkerBridgeless(
|
||||
const ReactMarkerId markerId,
|
||||
ReactMarkerId markerId,
|
||||
const char* tag);
|
||||
|
||||
struct ReactMarkerEvent {
|
||||
@@ -76,7 +76,7 @@ class RN_EXPORT StartupLogger {
|
||||
public:
|
||||
static StartupLogger& getInstance();
|
||||
|
||||
void logStartupEvent(const ReactMarkerId markerId, double markerTime);
|
||||
void logStartupEvent(ReactMarkerId markerId, double markerTime);
|
||||
void reset();
|
||||
double getAppStartupStartTime();
|
||||
double getInitReactRuntimeStartTime();
|
||||
@@ -101,8 +101,6 @@ class RN_EXPORT StartupLogger {
|
||||
// When the marker got logged from the platform, it will notify here. This is
|
||||
// used to collect react markers that are logged in the platform instead of in
|
||||
// C++.
|
||||
extern RN_EXPORT void logMarkerDone(
|
||||
const ReactMarkerId markerId,
|
||||
double markerTime);
|
||||
extern RN_EXPORT void logMarkerDone(ReactMarkerId markerId, double markerTime);
|
||||
|
||||
} // namespace facebook::react::ReactMarker
|
||||
|
||||
@@ -91,7 +91,7 @@ class [[deprecated(
|
||||
const std::string& moduleId,
|
||||
const std::string& methodId,
|
||||
const folly::dynamic& arguments) override;
|
||||
void invokeCallback(const double callbackId, const folly::dynamic& arguments)
|
||||
void invokeCallback(double callbackId, const folly::dynamic& arguments)
|
||||
override;
|
||||
void setGlobalVariable(
|
||||
std::string propName,
|
||||
|
||||
Reference in New Issue
Block a user