| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool in_memory, | 85 bool in_memory, |
| 86 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 86 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 87 virtual base::FilePath last_selected_directory() OVERRIDE; | 87 virtual base::FilePath last_selected_directory() OVERRIDE; |
| 88 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; | 88 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; |
| 89 | 89 |
| 90 #if defined(OS_CHROMEOS) | 90 #if defined(OS_CHROMEOS) |
| 91 virtual void ChangeAppLocale( | 91 virtual void ChangeAppLocale( |
| 92 const std::string& locale, AppLocaleChangedVia via) OVERRIDE; | 92 const std::string& locale, AppLocaleChangedVia via) OVERRIDE; |
| 93 virtual void OnLogin() OVERRIDE; | 93 virtual void OnLogin() OVERRIDE; |
| 94 virtual void InitChromeOSPreferences() OVERRIDE; | 94 virtual void InitChromeOSPreferences() OVERRIDE; |
| 95 virtual bool IsLoginProfile() OVERRIDE; | |
| 96 #endif // defined(OS_CHROMEOS) | 95 #endif // defined(OS_CHROMEOS) |
| 97 | 96 |
| 98 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 97 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| 99 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 98 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 100 virtual void ClearNetworkingHistorySince( | 99 virtual void ClearNetworkingHistorySince( |
| 101 base::Time time, const base::Closure& completion) OVERRIDE; | 100 base::Time time, const base::Closure& completion) OVERRIDE; |
| 102 virtual GURL GetHomePage() OVERRIDE; | 101 virtual GURL GetHomePage() OVERRIDE; |
| 103 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 102 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 104 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 103 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 105 virtual ExitType GetLastSessionExitType() OVERRIDE; | 104 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 106 | 105 |
| 107 private: | 106 private: |
| 108 std::string name_; | 107 std::string name_; |
| 109 base::FilePath path_; | 108 base::FilePath path_; |
| 110 }; | 109 }; |
| 111 | 110 |
| 112 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 111 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
| OLD | NEW |