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

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

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 virtual void InitExtensions() {} 239 virtual void InitExtensions() {}
240 virtual void InitPromoResources() {} 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*
250 GetChromeOSProxyConfigServiceImpl() {
251 return NULL;
252 }
253 virtual void SetupChromeOSEnterpriseExtensionObserver() { 249 virtual void SetupChromeOSEnterpriseExtensionObserver() {
254 } 250 }
255 virtual void InitChromeOSPreferences() { 251 virtual void InitChromeOSPreferences() {
256 } 252 }
257 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { 253 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) {
258 } 254 }
259 #endif // defined(OS_CHROMEOS) 255 #endif // defined(OS_CHROMEOS)
260 256
261 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); 257 virtual PrefProxyConfigTracker* GetProxyConfigTracker();
262 258
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 explicit DerivedTestingProfile(Profile* profile); 392 explicit DerivedTestingProfile(Profile* profile);
397 virtual ~DerivedTestingProfile(); 393 virtual ~DerivedTestingProfile();
398 394
399 virtual ProfileId GetRuntimeId(); 395 virtual ProfileId GetRuntimeId();
400 396
401 protected: 397 protected:
402 Profile* original_profile_; 398 Profile* original_profile_;
403 }; 399 };
404 400
405 #endif // CHROME_TEST_TESTING_PROFILE_H_ 401 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« chrome/browser/profiles/profile_impl.h ('K') | « chrome/test/testing_browser_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698