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

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

Issue 6484033: Fix a bug that caused Chrome OS system preferences not to work in the guest mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rework again! 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/browser/ui/browser_init.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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
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() {
251 return NULL; 251 return NULL;
252 } 252 }
253 virtual void SetupChromeOSEnterpriseExtensionObserver() { 253 virtual void SetupChromeOSEnterpriseExtensionObserver() {
254 } 254 }
255 virtual void InitChromeOSPreferences() {
256 }
255 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { 257 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) {
256 } 258 }
257 #endif // defined(OS_CHROMEOS) 259 #endif // defined(OS_CHROMEOS)
258 260
259 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); 261 virtual PrefProxyConfigTracker* GetProxyConfigTracker();
260 262
261 // Schedules a task on the history backend and runs a nested loop until the 263 // Schedules a task on the history backend and runs a nested loop until the
262 // task is processed. This has the effect of blocking the caller until the 264 // task is processed. This has the effect of blocking the caller until the
263 // history service processes all pending requests. 265 // history service processes all pending requests.
264 void BlockUntilHistoryProcessesPendingRequests(); 266 void BlockUntilHistoryProcessesPendingRequests();
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 explicit DerivedTestingProfile(Profile* profile); 396 explicit DerivedTestingProfile(Profile* profile);
395 virtual ~DerivedTestingProfile(); 397 virtual ~DerivedTestingProfile();
396 398
397 virtual ProfileId GetRuntimeId(); 399 virtual ProfileId GetRuntimeId();
398 400
399 protected: 401 protected:
400 Profile* original_profile_; 402 Profile* original_profile_;
401 }; 403 };
402 404
403 #endif // CHROME_TEST_TESTING_PROFILE_H_ 405 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698