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

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

Issue 6914021: Modifying the BackgroundModeManager to handle multiple profiles. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/test/testing_browser_process.cc ('k') | chrome/test/testing_profile.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) 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/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 virtual SpellCheckHost* GetSpellCheckHost(); 242 virtual SpellCheckHost* GetSpellCheckHost();
243 virtual void ReinitializeSpellCheckHost(bool force) { } 243 virtual void ReinitializeSpellCheckHost(bool force) { }
244 virtual WebKitContext* GetWebKitContext(); 244 virtual WebKitContext* GetWebKitContext();
245 virtual WebKitContext* GetOffTheRecordWebKitContext(); 245 virtual WebKitContext* GetOffTheRecordWebKitContext();
246 virtual void MarkAsCleanShutdown() {} 246 virtual void MarkAsCleanShutdown() {}
247 virtual void InitExtensions(bool extensions_enabled) {} 247 virtual void InitExtensions(bool extensions_enabled) {}
248 virtual void InitPromoResources() {} 248 virtual void InitPromoResources() {}
249 virtual void InitRegisteredProtocolHandlers() {} 249 virtual void InitRegisteredProtocolHandlers() {}
250 virtual NTPResourceCache* GetNTPResourceCache(); 250 virtual NTPResourceCache* GetNTPResourceCache();
251 251
252 virtual StatusTray* GetStatusTray();
253 virtual FilePath last_selected_directory(); 252 virtual FilePath last_selected_directory();
254 virtual void set_last_selected_directory(const FilePath& path); 253 virtual void set_last_selected_directory(const FilePath& path);
255 #if defined(OS_CHROMEOS) 254 #if defined(OS_CHROMEOS)
256 virtual void SetupChromeOSEnterpriseExtensionObserver() { 255 virtual void SetupChromeOSEnterpriseExtensionObserver() {
257 } 256 }
258 virtual void InitChromeOSPreferences() { 257 virtual void InitChromeOSPreferences() {
259 } 258 }
260 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { 259 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) {
261 } 260 }
262 virtual void OnLogin() { 261 virtual void OnLogin() {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 explicit DerivedTestingProfile(Profile* profile); 405 explicit DerivedTestingProfile(Profile* profile);
407 virtual ~DerivedTestingProfile(); 406 virtual ~DerivedTestingProfile();
408 407
409 virtual ProfileId GetRuntimeId(); 408 virtual ProfileId GetRuntimeId();
410 409
411 protected: 410 protected:
412 Profile* original_profile_; 411 Profile* original_profile_;
413 }; 412 };
414 413
415 #endif // CHROME_TEST_TESTING_PROFILE_H_ 414 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/test/testing_browser_process.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698