| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
| 8 #include "base/base_paths.h" | 8 #include "base/base_paths.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 off_the_record_ = off_the_record; | 70 off_the_record_ = off_the_record; |
| 71 } | 71 } |
| 72 virtual bool IsOffTheRecord() { return off_the_record_; } | 72 virtual bool IsOffTheRecord() { return off_the_record_; } |
| 73 virtual Profile* GetOffTheRecordProfile() { return NULL; } | 73 virtual Profile* GetOffTheRecordProfile() { return NULL; } |
| 74 | 74 |
| 75 virtual void DestroyOffTheRecordProfile() {} | 75 virtual void DestroyOffTheRecordProfile() {} |
| 76 | 76 |
| 77 virtual Profile* GetOriginalProfile() { return this; } | 77 virtual Profile* GetOriginalProfile() { return this; } |
| 78 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); | 78 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); |
| 79 virtual VisitedLinkMaster* GetVisitedLinkMaster() { return NULL; } | 79 virtual VisitedLinkMaster* GetVisitedLinkMaster() { return NULL; } |
| 80 virtual void PreloadVisitedLinkMaster() {} |
| 80 virtual ExtensionsService* GetExtensionsService() { return NULL; } | 81 virtual ExtensionsService* GetExtensionsService() { return NULL; } |
| 81 virtual UserScriptMaster* GetUserScriptMaster() { return NULL; } | 82 virtual UserScriptMaster* GetUserScriptMaster() { return NULL; } |
| 82 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() { | 83 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() { |
| 83 return NULL; | 84 return NULL; |
| 84 } | 85 } |
| 85 virtual ExtensionProcessManager* GetExtensionProcessManager() { return NULL; } | 86 virtual ExtensionProcessManager* GetExtensionProcessManager() { return NULL; } |
| 86 virtual ExtensionMessageService* GetExtensionMessageService() { return NULL; } | 87 virtual ExtensionMessageService* GetExtensionMessageService() { return NULL; } |
| 87 virtual SSLHostState* GetSSLHostState() { return NULL; } | 88 virtual SSLHostState* GetSSLHostState() { return NULL; } |
| 88 virtual net::TransportSecurityState* GetTransportSecurityState() { | 89 virtual net::TransportSecurityState* GetTransportSecurityState() { |
| 89 return NULL; | 90 return NULL; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 257 |
| 257 virtual ProfileId GetRuntimeId() { | 258 virtual ProfileId GetRuntimeId() { |
| 258 return original_profile_->GetRuntimeId(); | 259 return original_profile_->GetRuntimeId(); |
| 259 } | 260 } |
| 260 | 261 |
| 261 protected: | 262 protected: |
| 262 Profile* original_profile_; | 263 Profile* original_profile_; |
| 263 }; | 264 }; |
| 264 | 265 |
| 265 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 266 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |