Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3432)

Unified Diff: chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc
diff --git a/chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc b/chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc
index 5b05b62a35224d96b36a0add5221db2011dbad41..126ce549068c3caf24f7c99d092a34df37fdda75 100644
--- a/chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc
+++ b/chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc
@@ -21,16 +21,16 @@ namespace extensions {
class ActivityLogApiTest : public ExtensionApiTest {
public:
- ActivityLogApiTest() : saved_cmdline_(CommandLine::NO_PROGRAM) {}
+ ActivityLogApiTest() : saved_cmdline_(base::CommandLine::NO_PROGRAM) {}
~ActivityLogApiTest() override {
ExtensionApiTest::SetUpCommandLine(&saved_cmdline_);
- *CommandLine::ForCurrentProcess() = saved_cmdline_;
+ *base::CommandLine::ForCurrentProcess() = saved_cmdline_;
}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
ExtensionApiTest::SetUpCommandLine(command_line);
- saved_cmdline_ = *CommandLine::ForCurrentProcess();
+ saved_cmdline_ = *base::CommandLine::ForCurrentProcess();
command_line->AppendSwitch(switches::kEnableExtensionActivityLogging);
}
@@ -43,7 +43,7 @@ class ActivityLogApiTest : public ExtensionApiTest {
}
private:
- CommandLine saved_cmdline_;
+ base::CommandLine saved_cmdline_;
};
#if defined(OS_WIN) && !defined(NDEBUG)

Powered by Google App Engine
This is Rietveld 408576698