| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 virtual Profile* GetOffTheRecordProfile() { | 60 virtual Profile* GetOffTheRecordProfile() { |
| 61 return NULL; | 61 return NULL; |
| 62 } | 62 } |
| 63 virtual Profile* GetOriginalProfile() { | 63 virtual Profile* GetOriginalProfile() { |
| 64 return this; | 64 return this; |
| 65 } | 65 } |
| 66 virtual VisitedLinkMaster* GetVisitedLinkMaster() { | 66 virtual VisitedLinkMaster* GetVisitedLinkMaster() { |
| 67 return NULL; | 67 return NULL; |
| 68 } | 68 } |
| 69 virtual ExtensionsService* GetExtensionsService() { |
| 70 return NULL; |
| 71 } |
| 69 virtual GreasemonkeyMaster* GetGreasemonkeyMaster() { | 72 virtual GreasemonkeyMaster* GetGreasemonkeyMaster() { |
| 70 return NULL; | 73 return NULL; |
| 71 } | 74 } |
| 72 virtual HistoryService* GetHistoryService(ServiceAccessType access) { | 75 virtual HistoryService* GetHistoryService(ServiceAccessType access) { |
| 73 return history_service_.get(); | 76 return history_service_.get(); |
| 74 } | 77 } |
| 75 void set_has_history_service(bool has_history_service) { | 78 void set_has_history_service(bool has_history_service) { |
| 76 has_history_service_ = has_history_service; | 79 has_history_service_ = has_history_service; |
| 77 } | 80 } |
| 78 virtual WebDataService* GetWebDataService(ServiceAccessType access) { | 81 virtual WebDataService* GetWebDataService(ServiceAccessType access) { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // Do we have a history service? This defaults to the value of | 188 // Do we have a history service? This defaults to the value of |
| 186 // history_service, but can be explicitly set. | 189 // history_service, but can be explicitly set. |
| 187 bool has_history_service_; | 190 bool has_history_service_; |
| 188 | 191 |
| 189 std::wstring id_; | 192 std::wstring id_; |
| 190 | 193 |
| 191 bool off_the_record_; | 194 bool off_the_record_; |
| 192 }; | 195 }; |
| 193 | 196 |
| 194 #endif // CHROME_TEST_TESTING_PROFILE_H__ | 197 #endif // CHROME_TEST_TESTING_PROFILE_H__ |
| OLD | NEW |