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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 virtual Profile* GetOriginalProfile(); | 145 virtual Profile* GetOriginalProfile(); |
146 virtual ChromeAppCacheService* GetAppCacheService(); | 146 virtual ChromeAppCacheService* GetAppCacheService(); |
147 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); | 147 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); |
148 virtual VisitedLinkMaster* GetVisitedLinkMaster(); | 148 virtual VisitedLinkMaster* GetVisitedLinkMaster(); |
149 virtual ExtensionService* GetExtensionService(); | 149 virtual ExtensionService* GetExtensionService(); |
150 virtual UserScriptMaster* GetUserScriptMaster(); | 150 virtual UserScriptMaster* GetUserScriptMaster(); |
151 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); | 151 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); |
152 virtual ExtensionProcessManager* GetExtensionProcessManager(); | 152 virtual ExtensionProcessManager* GetExtensionProcessManager(); |
153 virtual ExtensionMessageService* GetExtensionMessageService(); | 153 virtual ExtensionMessageService* GetExtensionMessageService(); |
154 virtual ExtensionEventRouter* GetExtensionEventRouter(); | 154 virtual ExtensionEventRouter* GetExtensionEventRouter(); |
155 virtual ExtensionIOEventRouter* GetExtensionIOEventRouter(); | |
156 virtual SSLHostState* GetSSLHostState(); | 155 virtual SSLHostState* GetSSLHostState(); |
157 virtual net::TransportSecurityState* GetTransportSecurityState(); | 156 virtual net::TransportSecurityState* GetTransportSecurityState(); |
158 virtual FaviconService* GetFaviconService(ServiceAccessType access); | 157 virtual FaviconService* GetFaviconService(ServiceAccessType access); |
159 virtual HistoryService* GetHistoryService(ServiceAccessType access); | 158 virtual HistoryService* GetHistoryService(ServiceAccessType access); |
160 virtual HistoryService* GetHistoryServiceWithoutCreating(); | 159 virtual HistoryService* GetHistoryServiceWithoutCreating(); |
161 void set_has_history_service(bool has_history_service) { | 160 void set_has_history_service(bool has_history_service) { |
162 has_history_service_ = has_history_service; | 161 has_history_service_ = has_history_service; |
163 } | 162 } |
164 // The CookieMonster will only be returned if a Context has been created. Do | 163 // The CookieMonster will only be returned if a Context has been created. Do |
165 // this by calling CreateRequestContext(). See the note at GetRequestContext | 164 // this by calling CreateRequestContext(). See the note at GetRequestContext |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 explicit DerivedTestingProfile(Profile* profile); | 408 explicit DerivedTestingProfile(Profile* profile); |
410 virtual ~DerivedTestingProfile(); | 409 virtual ~DerivedTestingProfile(); |
411 | 410 |
412 virtual ProfileId GetRuntimeId(); | 411 virtual ProfileId GetRuntimeId(); |
413 | 412 |
414 protected: | 413 protected: |
415 Profile* original_profile_; | 414 Profile* original_profile_; |
416 }; | 415 }; |
417 | 416 |
418 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 417 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
OLD | NEW |