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

Side by Side Diff: chrome/browser/prefs/pref_service_uitest.cc

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/test/test_file_util.h" 10 #include "base/test/test_file_util.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // Find if launched window is maximized. 126 // Find if launched window is maximized.
127 bool is_window_maximized = false; 127 bool is_window_maximized = false;
128 ASSERT_TRUE(window->IsMaximized(&is_window_maximized)); 128 ASSERT_TRUE(window->IsMaximized(&is_window_maximized));
129 bool is_maximized = false; 129 bool is_maximized = false;
130 EXPECT_TRUE(root_dict->GetBoolean(kBrowserWindowPlacement + ".maximized", 130 EXPECT_TRUE(root_dict->GetBoolean(kBrowserWindowPlacement + ".maximized",
131 &is_maximized)); 131 &is_maximized));
132 EXPECT_EQ(is_maximized, is_window_maximized); 132 EXPECT_EQ(is_maximized, is_window_maximized);
133 } 133 }
134 #endif 134 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698