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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 12049052: Move core url data manager classes to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years, 11 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 // Common initialization between the two constructors. 304 // Common initialization between the two constructors.
305 void Init(); 305 void Init();
306 306
307 // Finishes initialization when a profile is created asynchronously. 307 // Finishes initialization when a profile is created asynchronously.
308 void FinishInit(); 308 void FinishInit();
309 309
310 // Creates a TestingPrefService and associates it with the TestingProfile. 310 // Creates a TestingPrefService and associates it with the TestingProfile.
311 void CreateTestingPrefService(); 311 void CreateTestingPrefService();
312 312
313 virtual base::Callback<ChromeURLDataManagerBackend*(void)>
314 GetChromeURLDataManagerBackendGetter() const OVERRIDE;
315
316 // The policy service. Lazily created as a stub. 313 // The policy service. Lazily created as a stub.
317 scoped_ptr<policy::PolicyService> policy_service_; 314 scoped_ptr<policy::PolicyService> policy_service_;
318 315
319 // Internally, this is a TestURLRequestContextGetter that creates a dummy 316 // Internally, this is a TestURLRequestContextGetter that creates a dummy
320 // request context. Currently, only the CookieMonster is hooked up. 317 // request context. Currently, only the CookieMonster is hooked up.
321 scoped_refptr<net::URLRequestContextGetter> request_context_; 318 scoped_refptr<net::URLRequestContextGetter> request_context_;
322 scoped_refptr<net::URLRequestContextGetter> extensions_request_context_; 319 scoped_refptr<net::URLRequestContextGetter> extensions_request_context_;
323 320
324 std::wstring id_; 321 std::wstring id_;
325 322
(...skipping 27 matching lines...) Expand all
353 // testing. 350 // testing.
354 ProfileDependencyManager* profile_dependency_manager_; 351 ProfileDependencyManager* profile_dependency_manager_;
355 352
356 scoped_ptr<content::MockResourceContext> resource_context_; 353 scoped_ptr<content::MockResourceContext> resource_context_;
357 354
358 // Weak pointer to a delegate for indicating that a profile was created. 355 // Weak pointer to a delegate for indicating that a profile was created.
359 Delegate* delegate_; 356 Delegate* delegate_;
360 }; 357 };
361 358
362 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 359 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698