| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 63   } | 63   } | 
| 64   virtual Profile* GetOriginalProfile() { | 64   virtual Profile* GetOriginalProfile() { | 
| 65     return this; | 65     return this; | 
| 66   } | 66   } | 
| 67   virtual VisitedLinkMaster* GetVisitedLinkMaster() { | 67   virtual VisitedLinkMaster* GetVisitedLinkMaster() { | 
| 68     return NULL; | 68     return NULL; | 
| 69   } | 69   } | 
| 70   virtual ExtensionsService* GetExtensionsService() { | 70   virtual ExtensionsService* GetExtensionsService() { | 
| 71     return NULL; | 71     return NULL; | 
| 72   } | 72   } | 
| 73   virtual GreasemonkeyMaster* GetGreasemonkeyMaster() { | 73   virtual UserScriptMaster* GetUserScriptMaster() { | 
| 74     return NULL; | 74     return NULL; | 
| 75   } | 75   } | 
| 76   virtual HistoryService* GetHistoryService(ServiceAccessType access) { | 76   virtual HistoryService* GetHistoryService(ServiceAccessType access) { | 
| 77     return history_service_.get(); | 77     return history_service_.get(); | 
| 78   } | 78   } | 
| 79   void set_has_history_service(bool has_history_service) { | 79   void set_has_history_service(bool has_history_service) { | 
| 80     has_history_service_ = has_history_service; | 80     has_history_service_ = has_history_service; | 
| 81   } | 81   } | 
| 82   virtual WebDataService* GetWebDataService(ServiceAccessType access) { | 82   virtual WebDataService* GetWebDataService(ServiceAccessType access) { | 
| 83     return NULL; | 83     return NULL; | 
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 201 | 201 | 
| 202   std::wstring id_; | 202   std::wstring id_; | 
| 203 | 203 | 
| 204   bool off_the_record_; | 204   bool off_the_record_; | 
| 205 | 205 | 
| 206   // Did the last session exit cleanly? Default is true. | 206   // Did the last session exit cleanly? Default is true. | 
| 207   bool last_session_exited_cleanly_; | 207   bool last_session_exited_cleanly_; | 
| 208 }; | 208 }; | 
| 209 | 209 | 
| 210 #endif  // CHROME_TEST_TESTING_PROFILE_H__ | 210 #endif  // CHROME_TEST_TESTING_PROFILE_H__ | 
| OLD | NEW | 
|---|