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

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

Issue 437077: Remember zoom on a per-host basis.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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/renderer/render_view.cc ('k') | webkit/tools/test_shell/event_sending_controller.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 InitThemes(); 139 InitThemes();
140 return theme_provider_.get(); 140 return theme_provider_.get();
141 } 141 }
142 virtual URLRequestContextGetter* GetRequestContext() { return NULL; } 142 virtual URLRequestContextGetter* GetRequestContext() { return NULL; }
143 virtual URLRequestContextGetter* GetRequestContextForMedia() { return NULL; } 143 virtual URLRequestContextGetter* GetRequestContextForMedia() { return NULL; }
144 virtual URLRequestContextGetter* GetRequestContextForExtensions() { 144 virtual URLRequestContextGetter* GetRequestContextForExtensions() {
145 return NULL; 145 return NULL;
146 } 146 }
147 virtual net::SSLConfigService* GetSSLConfigService() { return NULL; } 147 virtual net::SSLConfigService* GetSSLConfigService() { return NULL; }
148 virtual BlacklistManager* GetBlacklistManager() { return NULL; } 148 virtual BlacklistManager* GetBlacklistManager() { return NULL; }
149 virtual HostZoomMap* GetHostZoomMap() { return NULL; }
149 void set_session_service(SessionService* session_service) { 150 void set_session_service(SessionService* session_service) {
150 session_service_ = session_service; 151 session_service_ = session_service;
151 } 152 }
152 virtual SessionService* GetSessionService() { return session_service_.get(); } 153 virtual SessionService* GetSessionService() { return session_service_.get(); }
153 virtual void ShutdownSessionService() {} 154 virtual void ShutdownSessionService() {}
154 virtual bool HasSessionService() const { 155 virtual bool HasSessionService() const {
155 return (session_service_.get() != NULL); 156 return (session_service_.get() != NULL);
156 } 157 }
157 virtual std::wstring GetName() { return std::wstring(); } 158 virtual std::wstring GetName() { return std::wstring(); }
158 virtual void SetName(const std::wstring& name) {} 159 virtual void SetName(const std::wstring& name) {}
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 256
256 virtual ProfileId GetRuntimeId() { 257 virtual ProfileId GetRuntimeId() {
257 return original_profile_->GetRuntimeId(); 258 return original_profile_->GetRuntimeId();
258 } 259 }
259 260
260 protected: 261 protected:
261 Profile* original_profile_; 262 Profile* original_profile_;
262 }; 263 };
263 264
264 #endif // CHROME_TEST_TESTING_PROFILE_H_ 265 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/tools/test_shell/event_sending_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698