Commit 76caca27 authored by Stephen Nusko's avatar Stephen Nusko Committed by Commit Bot

Fix the spelling of background was "backgroud"

Noticed this while testing triggers. :)

Change-Id: Ib12f289bdc3bbf9cd96516c4f32d16b257102345
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787323
Commit-Queue: Stephen Nusko <nuskos@chromium.org>
Reviewed-by: default avatarStephen Nusko <nuskos@chromium.org>
Reviewed-by: default avatarEric Seckler <eseckler@chromium.org>
Auto-Submit: Stephen Nusko <nuskos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693855}
parent 6f5e7179
...@@ -480,7 +480,7 @@ void BackgroundTracingActiveScenario::AbortScenario() { ...@@ -480,7 +480,7 @@ void BackgroundTracingActiveScenario::AbortScenario() {
// send a trigger into the system tracing so that we can tell the time the // send a trigger into the system tracing so that we can tell the time the
// scenario stopped. // scenario stopped.
tracing::PerfettoTracedProcess::Get()->ActivateSystemTriggers( tracing::PerfettoTracedProcess::Get()->ActivateSystemTriggers(
{"org.chromium.bg_tracing.scenario_aborted"}); {"org.chromium.background_tracing.scenario_aborted"});
} else { } else {
// Setting the kAborted state will cause |this| to be destroyed. // Setting the kAborted state will cause |this| to be destroyed.
SetState(State::kAborted); SetState(State::kAborted);
......
...@@ -1716,7 +1716,7 @@ IN_PROC_BROWSER_TEST_F(BackgroundTracingManagerBrowserTest, ...@@ -1716,7 +1716,7 @@ IN_PROC_BROWSER_TEST_F(BackgroundTracingManagerBrowserTest,
// ******************** Start System trace ********************** // ******************** Start System trace **********************
perfetto::TraceConfig trace_config = perfetto::TraceConfig trace_config =
StopTracingTriggerConfig("org.chromium.backgroud_tracing.system_test"); StopTracingTriggerConfig("org.chromium.background_tracing.system_test");
base::RunLoop system_no_more_packets_runloop; base::RunLoop system_no_more_packets_runloop;
auto system_consumer = CreateDefaultConsumer(std::move(trace_config), auto system_consumer = CreateDefaultConsumer(std::move(trace_config),
system_service->GetService(), system_service->GetService(),
......
...@@ -178,7 +178,7 @@ class NamedTriggerRule : public BackgroundTracingRule { ...@@ -178,7 +178,7 @@ class NamedTriggerRule : public BackgroundTracingRule {
protected: protected:
std::string GetDefaultRuleId() const override { std::string GetDefaultRuleId() const override {
return base::StrCat({"org.chromium.backgroud_tracing.", named_event_}); return base::StrCat({"org.chromium.background_tracing.", named_event_});
} }
private: private:
...@@ -332,7 +332,7 @@ class HistogramRule : public BackgroundTracingRule, ...@@ -332,7 +332,7 @@ class HistogramRule : public BackgroundTracingRule,
protected: protected:
std::string GetDefaultRuleId() const override { std::string GetDefaultRuleId() const override {
return base::StrCat({"org.chromium.backgroud_tracing.", histogram_name_}); return base::StrCat({"org.chromium.background_tracing.", histogram_name_});
} }
private: private:
...@@ -383,7 +383,7 @@ class TraceForNSOrTriggerOrFullRule : public BackgroundTracingRule { ...@@ -383,7 +383,7 @@ class TraceForNSOrTriggerOrFullRule : public BackgroundTracingRule {
protected: protected:
std::string GetDefaultRuleId() const override { std::string GetDefaultRuleId() const override {
return base::StrCat({"org.chromium.backgroud_tracing.", named_event_}); return base::StrCat({"org.chromium.background_tracing.", named_event_});
} }
private: private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment