| 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/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 virtual bool IsOffTheRecord(); | 145 virtual bool IsOffTheRecord(); |
| 146 // Assumes ownership. | 146 // Assumes ownership. |
| 147 virtual void SetOffTheRecordProfile(Profile* profile); | 147 virtual void SetOffTheRecordProfile(Profile* profile); |
| 148 virtual Profile* GetOffTheRecordProfile(); | 148 virtual Profile* GetOffTheRecordProfile(); |
| 149 | 149 |
| 150 virtual void DestroyOffTheRecordProfile() {} | 150 virtual void DestroyOffTheRecordProfile() {} |
| 151 | 151 |
| 152 virtual bool HasOffTheRecordProfile(); | 152 virtual bool HasOffTheRecordProfile(); |
| 153 | 153 |
| 154 virtual Profile* GetOriginalProfile(); | 154 virtual Profile* GetOriginalProfile(); |
| 155 virtual bool SafeBrowsingEnabled(); |
| 155 virtual ChromeAppCacheService* GetAppCacheService(); | 156 virtual ChromeAppCacheService* GetAppCacheService(); |
| 156 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); | 157 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); |
| 157 virtual VisitedLinkMaster* GetVisitedLinkMaster(); | 158 virtual VisitedLinkMaster* GetVisitedLinkMaster(); |
| 158 virtual ExtensionService* GetExtensionService(); | 159 virtual ExtensionService* GetExtensionService(); |
| 159 virtual UserScriptMaster* GetUserScriptMaster(); | 160 virtual UserScriptMaster* GetUserScriptMaster(); |
| 160 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); | 161 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); |
| 161 virtual ExtensionProcessManager* GetExtensionProcessManager(); | 162 virtual ExtensionProcessManager* GetExtensionProcessManager(); |
| 162 virtual ExtensionMessageService* GetExtensionMessageService(); | 163 virtual ExtensionMessageService* GetExtensionMessageService(); |
| 163 virtual ExtensionEventRouter* GetExtensionEventRouter(); | 164 virtual ExtensionEventRouter* GetExtensionEventRouter(); |
| 164 virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy(); | 165 virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy(); |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 explicit DerivedTestingProfile(Profile* profile); | 407 explicit DerivedTestingProfile(Profile* profile); |
| 407 virtual ~DerivedTestingProfile(); | 408 virtual ~DerivedTestingProfile(); |
| 408 | 409 |
| 409 virtual ProfileId GetRuntimeId(); | 410 virtual ProfileId GetRuntimeId(); |
| 410 | 411 |
| 411 protected: | 412 protected: |
| 412 Profile* original_profile_; | 413 Profile* original_profile_; |
| 413 }; | 414 }; |
| 414 | 415 |
| 415 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 416 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |