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

Unified Diff: chrome/browser/extensions/extension_keybinding_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/extension_keybinding_apitest.cc
diff --git a/chrome/browser/extensions/extension_keybinding_apitest.cc b/chrome/browser/extensions/extension_keybinding_apitest.cc
index 29c93a7d8d6152b408f85c03cebf46b6fc1c1256..b6372230e3a86e2681e2a09cd9bd9a6d6ef2c47d 100644
--- a/chrome/browser/extensions/extension_keybinding_apitest.cc
+++ b/chrome/browser/extensions/extension_keybinding_apitest.cc
@@ -276,9 +276,8 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest, OverwriteBookmarkShortcut) {
ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser()));
// This functionality requires a feature flag.
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(
- "--enable-override-bookmarks-ui",
- "1");
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ "--enable-override-bookmarks-ui", "1");
ASSERT_TRUE(RunExtensionTest("keybinding/overwrite_bookmark_shortcut"))
<< message_;
@@ -321,9 +320,8 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest,
ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser()));
// This functionality requires a feature flag.
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(
- "--enable-override-bookmarks-ui",
- "1");
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ "--enable-override-bookmarks-ui", "1");
ASSERT_TRUE(RunExtensionTest("keybinding/overwrite_bookmark_shortcut"))
<< message_;
@@ -365,9 +363,8 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest,
ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser()));
// This functionality requires a feature flag.
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(
- "--enable-override-bookmarks-ui",
- "1");
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ "--enable-override-bookmarks-ui", "1");
ASSERT_TRUE(RunExtensionTest("keybinding/basics"))
<< message_;

Powered by Google App Engine
This is Rietveld 408576698