OLD | NEW |
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 const 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 HostZoomMap* GetHostZoomMap() OVERRIDE; | 233 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE; |
234 virtual bool HasProfileSyncService() OVERRIDE; | 234 virtual bool HasProfileSyncService() OVERRIDE; |
235 virtual std::wstring GetName(); | 235 virtual std::wstring GetName(); |
236 virtual void SetName(const std::wstring& name) {} | 236 virtual void SetName(const std::wstring& name) {} |
237 virtual std::wstring GetID(); | 237 virtual std::wstring GetID(); |
238 virtual void SetID(const std::wstring& id); | 238 virtual void SetID(const std::wstring& id); |
239 void set_last_session_exited_cleanly(bool value) { | 239 void set_last_session_exited_cleanly(bool value) { |
240 last_session_exited_cleanly_ = value; | 240 last_session_exited_cleanly_ = value; |
241 } | 241 } |
242 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 242 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
243 virtual void MergeResourceString(int message_id, | 243 virtual void MergeResourceString(int message_id, |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 scoped_refptr<ChromeAppCacheService> appcache_service_; | 413 scoped_refptr<ChromeAppCacheService> appcache_service_; |
414 | 414 |
415 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 415 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
416 scoped_refptr<quota::QuotaManager> quota_manager_; | 416 scoped_refptr<quota::QuotaManager> quota_manager_; |
417 | 417 |
418 // Weak pointer to a delegate for indicating that a profile was created. | 418 // Weak pointer to a delegate for indicating that a profile was created. |
419 Delegate* delegate_; | 419 Delegate* delegate_; |
420 }; | 420 }; |
421 | 421 |
422 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 422 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |