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

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

Issue 6542003: Refactor WebResourceService class, making it more generic. Move all the prom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: For the records Created 9 years, 10 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/common/pref_names.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 virtual bool IsSameProfile(Profile *p); 230 virtual bool IsSameProfile(Profile *p);
231 virtual base::Time GetStartTime() const; 231 virtual base::Time GetStartTime() const;
232 virtual TabRestoreService* GetTabRestoreService(); 232 virtual TabRestoreService* GetTabRestoreService();
233 virtual void ResetTabRestoreService() {} 233 virtual void ResetTabRestoreService() {}
234 virtual SpellCheckHost* GetSpellCheckHost(); 234 virtual SpellCheckHost* GetSpellCheckHost();
235 virtual void ReinitializeSpellCheckHost(bool force) { } 235 virtual void ReinitializeSpellCheckHost(bool force) { }
236 virtual WebKitContext* GetWebKitContext(); 236 virtual WebKitContext* GetWebKitContext();
237 virtual WebKitContext* GetOffTheRecordWebKitContext(); 237 virtual WebKitContext* GetOffTheRecordWebKitContext();
238 virtual void MarkAsCleanShutdown() {} 238 virtual void MarkAsCleanShutdown() {}
239 virtual void InitExtensions() {} 239 virtual void InitExtensions() {}
240 virtual void InitWebResources() {} 240 virtual void InitPromoResources() {}
241 virtual NTPResourceCache* GetNTPResourceCache(); 241 virtual NTPResourceCache* GetNTPResourceCache();
242 242
243 virtual DesktopNotificationService* GetDesktopNotificationService(); 243 virtual DesktopNotificationService* GetDesktopNotificationService();
244 virtual BackgroundContentsService* GetBackgroundContentsService() const; 244 virtual BackgroundContentsService* GetBackgroundContentsService() const;
245 virtual StatusTray* GetStatusTray(); 245 virtual StatusTray* GetStatusTray();
246 virtual FilePath last_selected_directory(); 246 virtual FilePath last_selected_directory();
247 virtual void set_last_selected_directory(const FilePath& path); 247 virtual void set_last_selected_directory(const FilePath& path);
248 #if defined(OS_CHROMEOS) 248 #if defined(OS_CHROMEOS)
249 virtual chromeos::ProxyConfigServiceImpl* 249 virtual chromeos::ProxyConfigServiceImpl*
250 GetChromeOSProxyConfigServiceImpl() { 250 GetChromeOSProxyConfigServiceImpl() {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 396
397 virtual ProfileId GetRuntimeId() { 397 virtual ProfileId GetRuntimeId() {
398 return original_profile_->GetRuntimeId(); 398 return original_profile_->GetRuntimeId();
399 } 399 }
400 400
401 protected: 401 protected:
402 Profile* original_profile_; 402 Profile* original_profile_;
403 }; 403 };
404 404
405 #endif // CHROME_TEST_TESTING_PROFILE_H_ 405 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698