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

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

Issue 660349: First cut at custom user style sheets. (Closed)
Patch Set: compile Created 10 years, 9 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
« no previous file with comments | « chrome/common/notification_type.h ('k') | webkit/glue/webpreferences.h » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 virtual URLRequestContextGetter* GetRequestContext(); 177 virtual URLRequestContextGetter* GetRequestContext();
178 void CreateRequestContext(); 178 void CreateRequestContext();
179 179
180 virtual URLRequestContextGetter* GetRequestContextForMedia() { return NULL; } 180 virtual URLRequestContextGetter* GetRequestContextForMedia() { return NULL; }
181 virtual URLRequestContextGetter* GetRequestContextForExtensions() { 181 virtual URLRequestContextGetter* GetRequestContextForExtensions() {
182 return NULL; 182 return NULL;
183 } 183 }
184 184
185 virtual net::SSLConfigService* GetSSLConfigService() { return NULL; } 185 virtual net::SSLConfigService* GetSSLConfigService() { return NULL; }
186 virtual Blacklist* GetPrivacyBlacklist() { return NULL; } 186 virtual Blacklist* GetPrivacyBlacklist() { return NULL; }
187 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() { return NULL; }
187 virtual HostContentSettingsMap* GetHostContentSettingsMap() { 188 virtual HostContentSettingsMap* GetHostContentSettingsMap() {
188 if (!host_content_settings_map_.get()) 189 if (!host_content_settings_map_.get())
189 host_content_settings_map_ = new HostContentSettingsMap(this); 190 host_content_settings_map_ = new HostContentSettingsMap(this);
190 return host_content_settings_map_.get(); 191 return host_content_settings_map_.get();
191 } 192 }
192 virtual HostZoomMap* GetHostZoomMap() { return NULL; } 193 virtual HostZoomMap* GetHostZoomMap() { return NULL; }
193 void set_session_service(SessionService* session_service); 194 void set_session_service(SessionService* session_service);
194 virtual SessionService* GetSessionService() { return session_service_.get(); } 195 virtual SessionService* GetSessionService() { return session_service_.get(); }
195 virtual void ShutdownSessionService() {} 196 virtual void ShutdownSessionService() {}
196 virtual bool HasSessionService() const { 197 virtual bool HasSessionService() const {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 327
327 virtual ProfileId GetRuntimeId() { 328 virtual ProfileId GetRuntimeId() {
328 return original_profile_->GetRuntimeId(); 329 return original_profile_->GetRuntimeId();
329 } 330 }
330 331
331 protected: 332 protected:
332 Profile* original_profile_; 333 Profile* original_profile_;
333 }; 334 };
334 335
335 #endif // CHROME_TEST_TESTING_PROFILE_H_ 336 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/common/notification_type.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698