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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 explicit DerivedTestingProfile(Profile* profile); | 413 explicit DerivedTestingProfile(Profile* profile); |
418 virtual ~DerivedTestingProfile(); | 414 virtual ~DerivedTestingProfile(); |
419 | 415 |
420 virtual ProfileId GetRuntimeId(); | 416 virtual ProfileId GetRuntimeId(); |
421 | 417 |
422 protected: | 418 protected: |
423 Profile* original_profile_; | 419 Profile* original_profile_; |
424 }; | 420 }; |
425 | 421 |
426 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 422 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
OLD | NEW |