Add NOLINT for known issue added w/ SKUs
Fixes https://github.com/brave/brave-browser/issues/20542
This commit is contained in:
@@ -94,11 +94,12 @@ void shim_logMessage(rust::cxxbridge1::Str file,
|
||||
TracingLevel level,
|
||||
rust::cxxbridge1::Str message);
|
||||
|
||||
void shim_purge(skus::SkusContext& ctx);
|
||||
void shim_set(skus::SkusContext& ctx,
|
||||
void shim_purge(skus::SkusContext& ctx); // NOLINT
|
||||
void shim_set(skus::SkusContext& ctx, // NOLINT
|
||||
rust::cxxbridge1::Str key,
|
||||
rust::cxxbridge1::Str value);
|
||||
::rust::String shim_get(skus::SkusContext& ctx, rust::cxxbridge1::Str key);
|
||||
::rust::String shim_get(skus::SkusContext& ctx, // NOLINT
|
||||
rust::cxxbridge1::Str key);
|
||||
|
||||
void shim_scheduleWakeup(
|
||||
::std::uint64_t delay_ms,
|
||||
|
||||
@@ -73,18 +73,19 @@ void shim_logMessage(rust::cxxbridge1::Str file,
|
||||
}
|
||||
}
|
||||
|
||||
void shim_purge(skus::SkusContext& ctx) {
|
||||
void shim_purge(skus::SkusContext& ctx) { // NOLINT
|
||||
ctx.PurgeStore();
|
||||
}
|
||||
|
||||
void shim_set(skus::SkusContext& ctx,
|
||||
void shim_set(skus::SkusContext& ctx, // NOLINT
|
||||
rust::cxxbridge1::Str key,
|
||||
rust::cxxbridge1::Str value) {
|
||||
ctx.UpdateStoreValue(static_cast<std::string>(key),
|
||||
static_cast<std::string>(value));
|
||||
}
|
||||
|
||||
::rust::String shim_get(skus::SkusContext& ctx, rust::cxxbridge1::Str key) {
|
||||
::rust::String shim_get(skus::SkusContext& ctx, // NOLINT
|
||||
rust::cxxbridge1::Str key) {
|
||||
return ::rust::String(ctx.GetValueFromStore(static_cast<std::string>(key)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user