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

Side by Side Diff: chrome/browser/profiles/profile_manager_unittest.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/memory/scoped_temp_dir.h"
9 #include "base/message_loop.h" 8 #include "base/message_loop.h"
10 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/scoped_temp_dir.h"
11 #include "base/system_monitor/system_monitor.h" 11 #include "base/system_monitor/system_monitor.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/prefs/browser_prefs.h" 13 #include "chrome/browser/prefs/browser_prefs.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/profiles/profile_manager.h" 15 #include "chrome/browser/profiles/profile_manager.h"
16 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
20 #include "chrome/test/testing_browser_process_test.h" 20 #include "chrome/test/testing_browser_process_test.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 2")); 222 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 2"));
223 223
224 MockObserver mock_observer; 224 MockObserver mock_observer;
225 EXPECT_CALL(mock_observer, OnProfileCreated(testing::NotNull())).Times(2); 225 EXPECT_CALL(mock_observer, OnProfileCreated(testing::NotNull())).Times(2);
226 226
227 profile_manager_->CreateProfileAsync(dest_path1, &mock_observer); 227 profile_manager_->CreateProfileAsync(dest_path1, &mock_observer);
228 profile_manager_->CreateProfileAsync(dest_path2, &mock_observer); 228 profile_manager_->CreateProfileAsync(dest_path2, &mock_observer);
229 229
230 message_loop_.RunAllPending(); 230 message_loop_.RunAllPending();
231 } 231 }
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_uitest.cc ('k') | chrome/browser/safe_browsing/bloom_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698