Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 214 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
| 215 const std::string& app_id); | 215 const std::string& app_id); |
| 216 | 216 |
| 217 virtual const content::ResourceContext& GetResourceContext(); | 217 virtual const content::ResourceContext& GetResourceContext(); |
| 218 | 218 |
| 219 virtual net::SSLConfigService* GetSSLConfigService(); | 219 virtual net::SSLConfigService* GetSSLConfigService(); |
| 220 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); | 220 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); |
| 221 virtual FindBarState* GetFindBarState(); | 221 virtual FindBarState* GetFindBarState(); |
| 222 virtual HostContentSettingsMap* GetHostContentSettingsMap(); | 222 virtual HostContentSettingsMap* GetHostContentSettingsMap(); |
| 223 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); | 223 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); |
| 224 virtual bool GetSpeechCensorPref(); | |
|
Satish
2011/09/23 09:44:57
any reason not to tag these with OVERRIDE similar
allanwoj
2011/09/23 14:12:44
Yup I don't see why not. I'll do it in another cl
| |
| 224 virtual HostZoomMap* GetHostZoomMap(); | 225 virtual HostZoomMap* GetHostZoomMap(); |
| 225 virtual bool HasProfileSyncService() const; | 226 virtual bool HasProfileSyncService() const; |
| 226 virtual std::wstring GetName(); | 227 virtual std::wstring GetName(); |
| 227 virtual void SetName(const std::wstring& name) {} | 228 virtual void SetName(const std::wstring& name) {} |
| 228 virtual std::wstring GetID(); | 229 virtual std::wstring GetID(); |
| 229 virtual void SetID(const std::wstring& id); | 230 virtual void SetID(const std::wstring& id); |
| 230 void set_last_session_exited_cleanly(bool value) { | 231 void set_last_session_exited_cleanly(bool value) { |
| 231 last_session_exited_cleanly_ = value; | 232 last_session_exited_cleanly_ = value; |
| 232 } | 233 } |
| 233 virtual bool DidLastSessionExitCleanly(); | 234 virtual bool DidLastSessionExitCleanly(); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 403 // testing. | 404 // testing. |
| 404 ProfileDependencyManager* profile_dependency_manager_; | 405 ProfileDependencyManager* profile_dependency_manager_; |
| 405 | 406 |
| 406 scoped_refptr<ChromeAppCacheService> appcache_service_; | 407 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 407 | 408 |
| 408 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 409 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
| 409 scoped_refptr<quota::QuotaManager> quota_manager_; | 410 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 410 }; | 411 }; |
| 411 | 412 |
| 412 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 413 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |