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" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 content::URLRequestInterceptorScopedVector request_interceptors) override; | 75 content::URLRequestInterceptorScopedVector request_interceptors) override; |
76 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 76 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
77 const base::FilePath& partition_path, | 77 const base::FilePath& partition_path, |
78 bool in_memory, | 78 bool in_memory, |
79 content::ProtocolHandlerMap* protocol_handlers, | 79 content::ProtocolHandlerMap* protocol_handlers, |
80 content::URLRequestInterceptorScopedVector request_interceptors) override; | 80 content::URLRequestInterceptorScopedVector request_interceptors) override; |
81 base::FilePath last_selected_directory() override; | 81 base::FilePath last_selected_directory() override; |
82 void set_last_selected_directory(const base::FilePath& path) override; | 82 void set_last_selected_directory(const base::FilePath& path) override; |
83 | 83 |
84 #if defined(OS_CHROMEOS) | 84 #if defined(OS_CHROMEOS) |
85 virtual void ChangeAppLocale( | 85 void ChangeAppLocale(const std::string& locale, |
86 const std::string& locale, AppLocaleChangedVia via) override; | 86 AppLocaleChangedVia via) override; |
87 virtual void OnLogin() override; | 87 void OnLogin() override; |
88 virtual void InitChromeOSPreferences() override; | 88 void InitChromeOSPreferences() override; |
89 #endif // defined(OS_CHROMEOS) | 89 #endif // defined(OS_CHROMEOS) |
90 | 90 |
91 PrefProxyConfigTracker* GetProxyConfigTracker() override; | 91 PrefProxyConfigTracker* GetProxyConfigTracker() override; |
92 chrome_browser_net::Predictor* GetNetworkPredictor() override; | 92 chrome_browser_net::Predictor* GetNetworkPredictor() override; |
93 DevToolsNetworkController* GetDevToolsNetworkController() override; | 93 DevToolsNetworkController* GetDevToolsNetworkController() override; |
94 void ClearNetworkingHistorySince(base::Time time, | 94 void ClearNetworkingHistorySince(base::Time time, |
95 const base::Closure& completion) override; | 95 const base::Closure& completion) override; |
96 GURL GetHomePage() override; | 96 GURL GetHomePage() override; |
97 bool WasCreatedByVersionOrLater(const std::string& version) override; | 97 bool WasCreatedByVersionOrLater(const std::string& version) override; |
98 void SetExitType(ExitType exit_type) override; | 98 void SetExitType(ExitType exit_type) override; |
99 ExitType GetLastSessionExitType() override; | 99 ExitType GetLastSessionExitType() override; |
100 | 100 |
101 private: | 101 private: |
102 std::string name_; | 102 std::string name_; |
103 base::FilePath path_; | 103 base::FilePath path_; |
104 }; | 104 }; |
105 | 105 |
106 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 106 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |