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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc

Issue 816403003: 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
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc ('k') | chrome/browser/unload_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
index 96be5de6d2da957e697a21b7a38d52aa06ae45c6..bcfdd4fd0db929d3f96e1165b6141a43fb8c77a0 100644
--- a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
@@ -100,7 +100,7 @@ scoped_ptr<TestBrowserWindowAura> CreateTestBrowserWindow(
// where the default window bounds calculation is invoked.
TEST_F(WindowSizerAshTest, MAYBE_DefaultSizeCase) {
#if defined(OS_WIN)
- CommandLine::ForCurrentProcess()->AppendSwitch(switches::kOpenAsh);
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(switches::kOpenAsh);
#endif
{ // 4:3 monitor case, 1024x768, no taskbar
gfx::Rect window_bounds;
@@ -889,7 +889,8 @@ TEST_F(WindowSizerAshTest, TestShowStateDefaults) {
// Check that setting the maximized command line option is forcing the
// maximized state.
- CommandLine::ForCurrentProcess()->AppendSwitch(switches::kStartMaximized);
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kStartMaximized);
browser_window->browser()->set_initial_show_state(ui::SHOW_STATE_NORMAL);
EXPECT_EQ(GetWindowShowState(ui::SHOW_STATE_NORMAL,
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc ('k') | chrome/browser/unload_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698