| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
| 11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 12 #include "components/domain_reliability/clear_mode.h" |
| 12 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
| 13 | 14 |
| 14 class ResourceContext; | 15 class ResourceContext; |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace content { | 21 namespace content { |
| 21 class DownloadManagerDelegate; | 22 class DownloadManagerDelegate; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 virtual void ChangeAppLocale( | 107 virtual void ChangeAppLocale( |
| 107 const std::string& locale, AppLocaleChangedVia via) OVERRIDE; | 108 const std::string& locale, AppLocaleChangedVia via) OVERRIDE; |
| 108 virtual void OnLogin() OVERRIDE; | 109 virtual void OnLogin() OVERRIDE; |
| 109 virtual void InitChromeOSPreferences() OVERRIDE; | 110 virtual void InitChromeOSPreferences() OVERRIDE; |
| 110 #endif // defined(OS_CHROMEOS) | 111 #endif // defined(OS_CHROMEOS) |
| 111 | 112 |
| 112 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 113 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| 113 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 114 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 114 virtual void ClearNetworkingHistorySince( | 115 virtual void ClearNetworkingHistorySince( |
| 115 base::Time time, const base::Closure& completion) OVERRIDE; | 116 base::Time time, const base::Closure& completion) OVERRIDE; |
| 117 virtual void ClearDomainReliabilityMonitor( |
| 118 domain_reliability::DomainReliabilityClearMode mode, |
| 119 const base::Closure& completion) OVERRIDE; |
| 116 virtual GURL GetHomePage() OVERRIDE; | 120 virtual GURL GetHomePage() OVERRIDE; |
| 117 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 121 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 118 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 122 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 119 virtual ExitType GetLastSessionExitType() OVERRIDE; | 123 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 120 | 124 |
| 121 private: | 125 private: |
| 122 std::string name_; | 126 std::string name_; |
| 123 base::FilePath path_; | 127 base::FilePath path_; |
| 124 }; | 128 }; |
| 125 | 129 |
| 126 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 130 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
| OLD | NEW |