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

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

Issue 6248017: Do not use local override for language settings: always sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bs removed Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 virtual void set_last_selected_directory(const FilePath& path) { 291 virtual void set_last_selected_directory(const FilePath& path) {
292 last_selected_directory_ = path; 292 last_selected_directory_ = path;
293 } 293 }
294 #if defined(OS_CHROMEOS) 294 #if defined(OS_CHROMEOS)
295 virtual chromeos::ProxyConfigServiceImpl* 295 virtual chromeos::ProxyConfigServiceImpl*
296 GetChromeOSProxyConfigServiceImpl() { 296 GetChromeOSProxyConfigServiceImpl() {
297 return NULL; 297 return NULL;
298 } 298 }
299 virtual void SetupChromeOSEnterpriseExtensionObserver() { 299 virtual void SetupChromeOSEnterpriseExtensionObserver() {
300 } 300 }
301 virtual void ChangeApplicationLocale(const std::string&, bool) { 301 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) {
302 } 302 }
303 #endif // defined(OS_CHROMEOS) 303 #endif // defined(OS_CHROMEOS)
304 304
305 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); 305 virtual PrefProxyConfigTracker* GetProxyConfigTracker();
306 306
307 // Schedules a task on the history backend and runs a nested loop until the 307 // Schedules a task on the history backend and runs a nested loop until the
308 // task is processed. This has the effect of blocking the caller until the 308 // task is processed. This has the effect of blocking the caller until the
309 // history service processes all pending requests. 309 // history service processes all pending requests.
310 void BlockUntilHistoryProcessesPendingRequests(); 310 void BlockUntilHistoryProcessesPendingRequests();
311 311
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 439
440 virtual ProfileId GetRuntimeId() { 440 virtual ProfileId GetRuntimeId() {
441 return original_profile_->GetRuntimeId(); 441 return original_profile_->GetRuntimeId();
442 } 442 }
443 443
444 protected: 444 protected:
445 Profile* original_profile_; 445 Profile* original_profile_;
446 }; 446 };
447 447
448 #endif // CHROME_TEST_TESTING_PROFILE_H_ 448 #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