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

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

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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/test/base/in_process_browser_test.cc ('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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // Clears out the created request context (which must be done before shutting 215 // Clears out the created request context (which must be done before shutting
216 // down the IO thread to avoid leaks). 216 // down the IO thread to avoid leaks).
217 void ResetRequestContext(); 217 void ResetRequestContext();
218 218
219 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; 219 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE;
220 virtual net::URLRequestContextGetter* 220 virtual net::URLRequestContextGetter*
221 GetRequestContextForExtensions() OVERRIDE; 221 GetRequestContextForExtensions() OVERRIDE;
222 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 222 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp(
223 const std::string& app_id) OVERRIDE; 223 const std::string& app_id) OVERRIDE;
224 224
225 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; 225 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
226 226
227 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 227 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
228 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE; 228 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE;
229 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 229 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
230 virtual content::GeolocationPermissionContext* 230 virtual content::GeolocationPermissionContext*
231 GetGeolocationPermissionContext() OVERRIDE; 231 GetGeolocationPermissionContext() OVERRIDE;
232 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; 232 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE;
233 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE; 233 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE;
234 virtual std::wstring GetName(); 234 virtual std::wstring GetName();
235 virtual void SetName(const std::wstring& name) {} 235 virtual void SetName(const std::wstring& name) {}
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 scoped_refptr<ChromeAppCacheService> appcache_service_; 410 scoped_refptr<ChromeAppCacheService> appcache_service_;
411 411
412 // The QuotaManager, only available if set explicitly via SetQuotaManager. 412 // The QuotaManager, only available if set explicitly via SetQuotaManager.
413 scoped_refptr<quota::QuotaManager> quota_manager_; 413 scoped_refptr<quota::QuotaManager> quota_manager_;
414 414
415 // Weak pointer to a delegate for indicating that a profile was created. 415 // Weak pointer to a delegate for indicating that a profile was created.
416 Delegate* delegate_; 416 Delegate* delegate_;
417 }; 417 };
418 418
419 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 419 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698