| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 } | 116 } |
| 117 virtual DownloadManager* GetDownloadManager() { | 117 virtual DownloadManager* GetDownloadManager() { |
| 118 return NULL; | 118 return NULL; |
| 119 } | 119 } |
| 120 virtual bool HasCreatedDownloadManager() const { | 120 virtual bool HasCreatedDownloadManager() const { |
| 121 return false; | 121 return false; |
| 122 } | 122 } |
| 123 virtual URLRequestContext* GetRequestContext() { | 123 virtual URLRequestContext* GetRequestContext() { |
| 124 return NULL; | 124 return NULL; |
| 125 } | 125 } |
| 126 virtual URLRequestContext* GetRequestContextForMedia() { |
| 127 return NULL; |
| 128 } |
| 126 void set_session_service(SessionService* session_service) { | 129 void set_session_service(SessionService* session_service) { |
| 127 session_service_ = session_service; | 130 session_service_ = session_service; |
| 128 } | 131 } |
| 129 virtual SessionService* GetSessionService() { | 132 virtual SessionService* GetSessionService() { |
| 130 return session_service_.get(); | 133 return session_service_.get(); |
| 131 } | 134 } |
| 132 virtual void ShutdownSessionService() { | 135 virtual void ShutdownSessionService() { |
| 133 } | 136 } |
| 134 virtual bool HasSessionService() const { | 137 virtual bool HasSessionService() const { |
| 135 return (session_service_.get() != NULL); | 138 return (session_service_.get() != NULL); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 | 221 |
| 219 std::wstring id_; | 222 std::wstring id_; |
| 220 | 223 |
| 221 bool off_the_record_; | 224 bool off_the_record_; |
| 222 | 225 |
| 223 // Did the last session exit cleanly? Default is true. | 226 // Did the last session exit cleanly? Default is true. |
| 224 bool last_session_exited_cleanly_; | 227 bool last_session_exited_cleanly_; |
| 225 }; | 228 }; |
| 226 | 229 |
| 227 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 230 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |