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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 virtual bool IsSameProfile(Profile *p); | 230 virtual bool IsSameProfile(Profile *p); |
231 virtual base::Time GetStartTime() const; | 231 virtual base::Time GetStartTime() const; |
232 virtual TabRestoreService* GetTabRestoreService(); | 232 virtual TabRestoreService* GetTabRestoreService(); |
233 virtual void ResetTabRestoreService() {} | 233 virtual void ResetTabRestoreService() {} |
234 virtual SpellCheckHost* GetSpellCheckHost(); | 234 virtual SpellCheckHost* GetSpellCheckHost(); |
235 virtual void ReinitializeSpellCheckHost(bool force) { } | 235 virtual void ReinitializeSpellCheckHost(bool force) { } |
236 virtual WebKitContext* GetWebKitContext(); | 236 virtual WebKitContext* GetWebKitContext(); |
237 virtual WebKitContext* GetOffTheRecordWebKitContext(); | 237 virtual WebKitContext* GetOffTheRecordWebKitContext(); |
238 virtual void MarkAsCleanShutdown() {} | 238 virtual void MarkAsCleanShutdown() {} |
239 virtual void InitExtensions() {} | 239 virtual void InitExtensions() {} |
240 virtual void InitWebResources() {} | 240 virtual void InitPromoResources() {} |
241 virtual NTPResourceCache* GetNTPResourceCache(); | 241 virtual NTPResourceCache* GetNTPResourceCache(); |
242 | 242 |
243 virtual DesktopNotificationService* GetDesktopNotificationService(); | 243 virtual DesktopNotificationService* GetDesktopNotificationService(); |
244 virtual BackgroundContentsService* GetBackgroundContentsService() const; | 244 virtual BackgroundContentsService* GetBackgroundContentsService() const; |
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() { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 | 396 |
397 virtual ProfileId GetRuntimeId() { | 397 virtual ProfileId GetRuntimeId() { |
398 return original_profile_->GetRuntimeId(); | 398 return original_profile_->GetRuntimeId(); |
399 } | 399 } |
400 | 400 |
401 protected: | 401 protected: |
402 Profile* original_profile_; | 402 Profile* original_profile_; |
403 }; | 403 }; |
404 | 404 |
405 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 405 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
OLD | NEW |