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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 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
« no previous file with comments | « chrome/chrome_browser.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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 GetDownloadManagerDelegate() OVERRIDE; 215 GetDownloadManagerDelegate() OVERRIDE;
216 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 216 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
217 virtual net::URLRequestContextGetter* CreateRequestContext( 217 virtual net::URLRequestContextGetter* CreateRequestContext(
218 content::ProtocolHandlerMap* protocol_handlers, 218 content::ProtocolHandlerMap* protocol_handlers,
219 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; 219 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
220 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 220 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
221 int renderer_child_id) OVERRIDE; 221 int renderer_child_id) OVERRIDE;
222 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 222 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
223 virtual content::GeolocationPermissionContext* 223 virtual content::GeolocationPermissionContext*
224 GetGeolocationPermissionContext() OVERRIDE; 224 GetGeolocationPermissionContext() OVERRIDE;
225 virtual content::BrowserPluginGuestManagerDelegate*
226 GetGuestManagerDelegate() OVERRIDE;
225 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 227 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
226 228
227 virtual TestingProfile* AsTestingProfile() OVERRIDE; 229 virtual TestingProfile* AsTestingProfile() OVERRIDE;
228 230
229 // Profile 231 // Profile
230 virtual std::string GetProfileName() OVERRIDE; 232 virtual std::string GetProfileName() OVERRIDE;
231 virtual ProfileType GetProfileType() const OVERRIDE; 233 virtual ProfileType GetProfileType() const OVERRIDE;
232 234
233 // DEPRECATED, because it's fragile to change a profile from non-incognito 235 // DEPRECATED, because it's fragile to change a profile from non-incognito
234 // to incognito after the ProfileKeyedServices have been created (some 236 // to incognito after the ProfileKeyedServices have been created (some
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 433
432 // Weak pointer to a delegate for indicating that a profile was created. 434 // Weak pointer to a delegate for indicating that a profile was created.
433 Delegate* delegate_; 435 Delegate* delegate_;
434 436
435 std::string profile_name_; 437 std::string profile_name_;
436 438
437 scoped_ptr<policy::PolicyService> policy_service_; 439 scoped_ptr<policy::PolicyService> policy_service_;
438 }; 440 };
439 441
440 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 442 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698