Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1128)

Side by Side Diff: chrome/test/testing_profile.h

Issue 159705: Implement kCurrentThemeID so we can know what the last theme to be installed ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profile.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 virtual DownloadManager* GetDownloadManager() { 131 virtual DownloadManager* GetDownloadManager() {
132 return NULL; 132 return NULL;
133 } 133 }
134 virtual bool HasCreatedDownloadManager() const { 134 virtual bool HasCreatedDownloadManager() const {
135 return false; 135 return false;
136 } 136 }
137 virtual void InitThemes() { } 137 virtual void InitThemes() { }
138 virtual void SetTheme(Extension* extension) { } 138 virtual void SetTheme(Extension* extension) { }
139 virtual void SetNativeTheme() { } 139 virtual void SetNativeTheme() { }
140 virtual void ClearTheme() { } 140 virtual void ClearTheme() { }
141 virtual Extension* GetTheme() {
142 return NULL;
143 }
141 virtual ThemeProvider* GetThemeProvider() { 144 virtual ThemeProvider* GetThemeProvider() {
142 return theme_provider_.get(); 145 return theme_provider_.get();
143 } 146 }
144 virtual URLRequestContext* GetRequestContext() { 147 virtual URLRequestContext* GetRequestContext() {
145 return NULL; 148 return NULL;
146 } 149 }
147 virtual URLRequestContext* GetRequestContextForMedia() { 150 virtual URLRequestContext* GetRequestContextForMedia() {
148 return NULL; 151 return NULL;
149 } 152 }
150 virtual URLRequestContext* GetRequestContextForExtensions() { 153 virtual URLRequestContext* GetRequestContextForExtensions() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 267
265 std::wstring id_; 268 std::wstring id_;
266 269
267 bool off_the_record_; 270 bool off_the_record_;
268 271
269 // Did the last session exit cleanly? Default is true. 272 // Did the last session exit cleanly? Default is true.
270 bool last_session_exited_cleanly_; 273 bool last_session_exited_cleanly_;
271 }; 274 };
272 275
273 #endif // CHROME_TEST_TESTING_PROFILE_H_ 276 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698