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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } | 127 } |
128 | 128 |
129 virtual DownloadManager* GetDownloadManager() { | 129 virtual DownloadManager* GetDownloadManager() { |
130 return NULL; | 130 return NULL; |
131 } | 131 } |
132 virtual bool HasCreatedDownloadManager() const { | 132 virtual bool HasCreatedDownloadManager() const { |
133 return false; | 133 return false; |
134 } | 134 } |
135 virtual void InitThemes() { } | 135 virtual void InitThemes() { } |
136 virtual void SetTheme(Extension* extension) { } | 136 virtual void SetTheme(Extension* extension) { } |
| 137 virtual void SetNativeTheme() { } |
137 virtual void ClearTheme() { } | 138 virtual void ClearTheme() { } |
138 virtual ThemeProvider* GetThemeProvider() { | 139 virtual ThemeProvider* GetThemeProvider() { |
139 return theme_provider_.get(); | 140 return theme_provider_.get(); |
140 } | 141 } |
141 virtual URLRequestContext* GetRequestContext() { | 142 virtual URLRequestContext* GetRequestContext() { |
142 return NULL; | 143 return NULL; |
143 } | 144 } |
144 virtual URLRequestContext* GetRequestContextForMedia() { | 145 virtual URLRequestContext* GetRequestContextForMedia() { |
145 return NULL; | 146 return NULL; |
146 } | 147 } |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 262 |
262 std::wstring id_; | 263 std::wstring id_; |
263 | 264 |
264 bool off_the_record_; | 265 bool off_the_record_; |
265 | 266 |
266 // Did the last session exit cleanly? Default is true. | 267 // Did the last session exit cleanly? Default is true. |
267 bool last_session_exited_cleanly_; | 268 bool last_session_exited_cleanly_; |
268 }; | 269 }; |
269 | 270 |
270 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 271 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
OLD | NEW |