| 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/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 virtual void ClearTheme() { } | 124 virtual void ClearTheme() { } |
| 125 virtual ThemeProvider* GetThemeProvider() { | 125 virtual ThemeProvider* GetThemeProvider() { |
| 126 return NULL; | 126 return NULL; |
| 127 } | 127 } |
| 128 virtual URLRequestContext* GetRequestContext() { | 128 virtual URLRequestContext* GetRequestContext() { |
| 129 return NULL; | 129 return NULL; |
| 130 } | 130 } |
| 131 virtual URLRequestContext* GetRequestContextForMedia() { | 131 virtual URLRequestContext* GetRequestContextForMedia() { |
| 132 return NULL; | 132 return NULL; |
| 133 } | 133 } |
| 134 virtual URLRequestContext* GetRequestContextForExtensions() { |
| 135 return NULL; |
| 136 } |
| 134 void set_session_service(SessionService* session_service) { | 137 void set_session_service(SessionService* session_service) { |
| 135 session_service_ = session_service; | 138 session_service_ = session_service; |
| 136 } | 139 } |
| 137 virtual SessionService* GetSessionService() { | 140 virtual SessionService* GetSessionService() { |
| 138 return session_service_.get(); | 141 return session_service_.get(); |
| 139 } | 142 } |
| 140 virtual void ShutdownSessionService() { | 143 virtual void ShutdownSessionService() { |
| 141 } | 144 } |
| 142 virtual bool HasSessionService() const { | 145 virtual bool HasSessionService() const { |
| 143 return (session_service_.get() != NULL); | 146 return (session_service_.get() != NULL); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 234 |
| 232 std::wstring id_; | 235 std::wstring id_; |
| 233 | 236 |
| 234 bool off_the_record_; | 237 bool off_the_record_; |
| 235 | 238 |
| 236 // Did the last session exit cleanly? Default is true. | 239 // Did the last session exit cleanly? Default is true. |
| 237 bool last_session_exited_cleanly_; | 240 bool last_session_exited_cleanly_; |
| 238 }; | 241 }; |
| 239 | 242 |
| 240 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 243 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |