| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 DesktopNotificationService* GetDesktopNotificationService(); | 252 virtual DesktopNotificationService* GetDesktopNotificationService(); |
| 253 virtual BackgroundContentsService* GetBackgroundContentsService() const; | 253 virtual BackgroundContentsService* GetBackgroundContentsService() const; |
| 254 virtual StatusTray* GetStatusTray(); | 254 virtual StatusTray* GetStatusTray(); |
| 255 virtual FilePath last_selected_directory(); | 255 virtual FilePath last_selected_directory(); |
| 256 virtual void set_last_selected_directory(const FilePath& path); | 256 virtual void set_last_selected_directory(const FilePath& path); |
| 257 #if defined(OS_CHROMEOS) | 257 #if defined(OS_CHROMEOS) |
| 258 virtual chromeos::ProxyConfigServiceImpl* | |
| 259 GetChromeOSProxyConfigServiceImpl() { | |
| 260 return NULL; | |
| 261 } | |
| 262 virtual void SetupChromeOSEnterpriseExtensionObserver() { | 258 virtual void SetupChromeOSEnterpriseExtensionObserver() { |
| 263 } | 259 } |
| 264 virtual void InitChromeOSPreferences() { | 260 virtual void InitChromeOSPreferences() { |
| 265 } | 261 } |
| 266 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { | 262 virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { |
| 267 } | 263 } |
| 268 virtual void OnLogin() { | 264 virtual void OnLogin() { |
| 269 } | 265 } |
| 270 #endif // defined(OS_CHROMEOS) | 266 #endif // defined(OS_CHROMEOS) |
| 271 | 267 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 explicit DerivedTestingProfile(Profile* profile); | 411 explicit DerivedTestingProfile(Profile* profile); |
| 416 virtual ~DerivedTestingProfile(); | 412 virtual ~DerivedTestingProfile(); |
| 417 | 413 |
| 418 virtual ProfileId GetRuntimeId(); | 414 virtual ProfileId GetRuntimeId(); |
| 419 | 415 |
| 420 protected: | 416 protected: |
| 421 Profile* original_profile_; | 417 Profile* original_profile_; |
| 422 }; | 418 }; |
| 423 | 419 |
| 424 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 420 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |