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_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_TESTING_PROFILE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 virtual Profile* GetOriginalProfile(); | 146 virtual Profile* GetOriginalProfile(); |
147 virtual ChromeAppCacheService* GetAppCacheService(); | 147 virtual ChromeAppCacheService* GetAppCacheService(); |
148 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); | 148 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); |
149 virtual VisitedLinkMaster* GetVisitedLinkMaster(); | 149 virtual VisitedLinkMaster* GetVisitedLinkMaster(); |
150 virtual ExtensionService* GetExtensionService(); | 150 virtual ExtensionService* GetExtensionService(); |
151 virtual UserScriptMaster* GetUserScriptMaster(); | 151 virtual UserScriptMaster* GetUserScriptMaster(); |
152 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); | 152 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); |
153 virtual ExtensionProcessManager* GetExtensionProcessManager(); | 153 virtual ExtensionProcessManager* GetExtensionProcessManager(); |
154 virtual ExtensionMessageService* GetExtensionMessageService(); | 154 virtual ExtensionMessageService* GetExtensionMessageService(); |
155 virtual ExtensionEventRouter* GetExtensionEventRouter(); | 155 virtual ExtensionEventRouter* GetExtensionEventRouter(); |
156 virtual ExtensionIOEventRouter* GetExtensionIOEventRouter(); | |
157 virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy(); | 156 virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy(); |
158 virtual SSLHostState* GetSSLHostState(); | 157 virtual SSLHostState* GetSSLHostState(); |
159 virtual net::TransportSecurityState* GetTransportSecurityState(); | 158 virtual net::TransportSecurityState* GetTransportSecurityState(); |
160 virtual FaviconService* GetFaviconService(ServiceAccessType access); | 159 virtual FaviconService* GetFaviconService(ServiceAccessType access); |
161 virtual HistoryService* GetHistoryService(ServiceAccessType access); | 160 virtual HistoryService* GetHistoryService(ServiceAccessType access); |
162 virtual HistoryService* GetHistoryServiceWithoutCreating(); | 161 virtual HistoryService* GetHistoryServiceWithoutCreating(); |
163 void set_has_history_service(bool has_history_service) { | 162 void set_has_history_service(bool has_history_service) { |
164 has_history_service_ = has_history_service; | 163 has_history_service_ = has_history_service; |
165 } | 164 } |
166 // The CookieMonster will only be returned if a Context has been created. Do | 165 // The CookieMonster will only be returned if a Context has been created. Do |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 explicit DerivedTestingProfile(Profile* profile); | 413 explicit DerivedTestingProfile(Profile* profile); |
415 virtual ~DerivedTestingProfile(); | 414 virtual ~DerivedTestingProfile(); |
416 | 415 |
417 virtual ProfileId GetRuntimeId(); | 416 virtual ProfileId GetRuntimeId(); |
418 | 417 |
419 protected: | 418 protected: |
420 Profile* original_profile_; | 419 Profile* original_profile_; |
421 }; | 420 }; |
422 | 421 |
423 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 422 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
OLD | NEW |