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

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

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/scoped_temp_dir.h"
9 #include "base/test/test_file_util.h" 10 #include "base/test/test_file_util.h"
10 #include "base/values.h" 11 #include "base/values.h"
11 #include "base/memory/scoped_temp_dir.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/common/chrome_constants.h" 13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
16 #include "chrome/test/automation/browser_proxy.h" 16 #include "chrome/test/automation/browser_proxy.h"
17 #include "chrome/test/automation/window_proxy.h" 17 #include "chrome/test/automation/window_proxy.h"
18 #include "chrome/test/ui/ui_test.h" 18 #include "chrome/test/ui/ui_test.h"
19 #include "content/common/json_value_serializer.h" 19 #include "content/common/json_value_serializer.h"
20 #include "ui/gfx/rect.h" 20 #include "ui/gfx/rect.h"
21 21
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // Find if launched window is maximized. 197 // Find if launched window is maximized.
198 bool is_window_maximized = false; 198 bool is_window_maximized = false;
199 ASSERT_TRUE(window->IsMaximized(&is_window_maximized)); 199 ASSERT_TRUE(window->IsMaximized(&is_window_maximized));
200 bool is_maximized = false; 200 bool is_maximized = false;
201 EXPECT_TRUE(root_dict->GetBoolean(kBrowserWindowPlacement + ".maximized", 201 EXPECT_TRUE(root_dict->GetBoolean(kBrowserWindowPlacement + ".maximized",
202 &is_maximized)); 202 &is_maximized));
203 EXPECT_EQ(is_maximized, is_window_maximized); 203 EXPECT_EQ(is_maximized, is_window_maximized);
204 } 204 }
205 #endif 205 #endif
206 206
OLDNEW
« no previous file with comments | « chrome/browser/policy/user_policy_cache_unittest.cc ('k') | chrome/browser/prerender/prerender_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698