| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |