| 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/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" | 
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" | 
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 240   virtual SpellCheckHost* GetSpellCheckHost(); | 240   virtual SpellCheckHost* GetSpellCheckHost(); | 
| 241   virtual void ReinitializeSpellCheckHost(bool force) { } | 241   virtual void ReinitializeSpellCheckHost(bool force) { } | 
| 242   virtual WebKitContext* GetWebKitContext(); | 242   virtual WebKitContext* GetWebKitContext(); | 
| 243   virtual WebKitContext* GetOffTheRecordWebKitContext(); | 243   virtual WebKitContext* GetOffTheRecordWebKitContext(); | 
| 244   virtual void MarkAsCleanShutdown() {} | 244   virtual void MarkAsCleanShutdown() {} | 
| 245   virtual void InitExtensions() {} | 245   virtual void InitExtensions() {} | 
| 246   virtual void InitPromoResources() {} | 246   virtual void InitPromoResources() {} | 
| 247   virtual void InitRegisteredProtocolHandlers() {} | 247   virtual void InitRegisteredProtocolHandlers() {} | 
| 248   virtual NTPResourceCache* GetNTPResourceCache(); | 248   virtual NTPResourceCache* GetNTPResourceCache(); | 
| 249 | 249 | 
| 250   virtual BackgroundContentsService* GetBackgroundContentsService() const; |  | 
| 251   virtual StatusTray* GetStatusTray(); | 250   virtual StatusTray* GetStatusTray(); | 
| 252   virtual FilePath last_selected_directory(); | 251   virtual FilePath last_selected_directory(); | 
| 253   virtual void set_last_selected_directory(const FilePath& path); | 252   virtual void set_last_selected_directory(const FilePath& path); | 
| 254 #if defined(OS_CHROMEOS) | 253 #if defined(OS_CHROMEOS) | 
| 255   virtual void SetupChromeOSEnterpriseExtensionObserver() { | 254   virtual void SetupChromeOSEnterpriseExtensionObserver() { | 
| 256   } | 255   } | 
| 257   virtual void InitChromeOSPreferences() { | 256   virtual void InitChromeOSPreferences() { | 
| 258   } | 257   } | 
| 259   virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { | 258   virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) { | 
| 260   } | 259   } | 
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 411   explicit DerivedTestingProfile(Profile* profile); | 410   explicit DerivedTestingProfile(Profile* profile); | 
| 412   virtual ~DerivedTestingProfile(); | 411   virtual ~DerivedTestingProfile(); | 
| 413 | 412 | 
| 414   virtual ProfileId GetRuntimeId(); | 413   virtual ProfileId GetRuntimeId(); | 
| 415 | 414 | 
| 416  protected: | 415  protected: | 
| 417   Profile* original_profile_; | 416   Profile* original_profile_; | 
| 418 }; | 417 }; | 
| 419 | 418 | 
| 420 #endif  // CHROME_TEST_TESTING_PROFILE_H_ | 419 #endif  // CHROME_TEST_TESTING_PROFILE_H_ | 
| OLD | NEW | 
|---|