| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 } | 91 } |
| 92 virtual HistoryService* GetHistoryService(ServiceAccessType access) { | 92 virtual HistoryService* GetHistoryService(ServiceAccessType access) { |
| 93 return history_service_.get(); | 93 return history_service_.get(); |
| 94 } | 94 } |
| 95 virtual HistoryService* GetHistoryServiceWithoutCreating() { | 95 virtual HistoryService* GetHistoryServiceWithoutCreating() { |
| 96 return history_service_.get(); | 96 return history_service_.get(); |
| 97 } | 97 } |
| 98 void set_has_history_service(bool has_history_service) { | 98 void set_has_history_service(bool has_history_service) { |
| 99 has_history_service_ = has_history_service; | 99 has_history_service_ = has_history_service; |
| 100 } | 100 } |
| 101 virtual SearchVersusNavigateClassifier* GetSearchVersusNavigateClassifier() { |
| 102 return NULL; |
| 103 } |
| 101 virtual WebDataService* GetWebDataService(ServiceAccessType access) { | 104 virtual WebDataService* GetWebDataService(ServiceAccessType access) { |
| 102 return NULL; | 105 return NULL; |
| 103 } | 106 } |
| 104 virtual WebDataService* GetWebDataServiceWithoutCreating() { | 107 virtual WebDataService* GetWebDataServiceWithoutCreating() { |
| 105 return NULL; | 108 return NULL; |
| 106 } | 109 } |
| 107 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) { | 110 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) { |
| 108 return NULL; | 111 return NULL; |
| 109 } | 112 } |
| 110 virtual PrefService* GetPrefs() { | 113 virtual PrefService* GetPrefs() { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 | 246 |
| 244 virtual ProfileId GetRuntimeId() { | 247 virtual ProfileId GetRuntimeId() { |
| 245 return original_profile_->GetRuntimeId(); | 248 return original_profile_->GetRuntimeId(); |
| 246 } | 249 } |
| 247 | 250 |
| 248 protected: | 251 protected: |
| 249 Profile* original_profile_; | 252 Profile* original_profile_; |
| 250 }; | 253 }; |
| 251 | 254 |
| 252 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 255 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |