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

Unified Diff: chrome/browser/extensions/extension_message_bubble_controller_unittest.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/extension_message_bubble_controller_unittest.cc
diff --git a/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc b/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
index 8a963b3926294f78f9d2d88c4454a15e6eebd157..0cb5d541affa3271ce99d7efcfcbe9f28156b124 100644
--- a/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
+++ b/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
@@ -391,11 +391,9 @@ class ExtensionMessageBubbleTest : public testing::Test {
// service to work inside a unit test and access the extension prefs.
thread_bundle_.reset(new content::TestBrowserThreadBundle);
profile_.reset(new TestingProfile);
- static_cast<TestExtensionSystem*>(
- ExtensionSystem::Get(profile()))->CreateExtensionService(
- CommandLine::ForCurrentProcess(),
- base::FilePath(),
- false);
+ static_cast<TestExtensionSystem*>(ExtensionSystem::Get(profile()))
+ ->CreateExtensionService(base::CommandLine::ForCurrentProcess(),
+ base::FilePath(), false);
service_ = ExtensionSystem::Get(profile())->extension_service();
service_->Init();
}
@@ -406,7 +404,7 @@ class ExtensionMessageBubbleTest : public testing::Test {
}
void SetUp() override {
- command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM));
+ command_line_.reset(new base::CommandLine(base::CommandLine::NO_PROGRAM));
}
protected:
@@ -427,7 +425,7 @@ class ExtensionMessageBubbleTest : public testing::Test {
ExtensionService* service_;
private:
- scoped_ptr<CommandLine> command_line_;
+ scoped_ptr<base::CommandLine> command_line_;
scoped_ptr<content::TestBrowserThreadBundle> thread_bundle_;
scoped_ptr<TestingProfile> profile_;
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_apitest.cc ('k') | chrome/browser/extensions/extension_messages_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698