Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.h

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 PrefService* GetPrefs() override; 70 PrefService* GetPrefs() override;
71 const PrefService* GetPrefs() const override; 71 const PrefService* GetPrefs() const override;
72 PrefService* GetOffTheRecordPrefs() override; 72 PrefService* GetOffTheRecordPrefs() override;
73 net::URLRequestContextGetter* GetRequestContext() override; 73 net::URLRequestContextGetter* GetRequestContext() override;
74 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 74 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
75 net::SSLConfigService* GetSSLConfigService() override; 75 net::SSLConfigService* GetSSLConfigService() override;
76 bool IsSameProfile(Profile* profile) override; 76 bool IsSameProfile(Profile* profile) override;
77 base::Time GetStartTime() const override; 77 base::Time GetStartTime() const override;
78 base::FilePath last_selected_directory() override; 78 base::FilePath last_selected_directory() override;
79 void set_last_selected_directory(const base::FilePath& path) override; 79 void set_last_selected_directory(const base::FilePath& path) override;
80
81 #if defined(OS_CHROMEOS)
82 void ChangeAppLocale(const std::string& locale, 80 void ChangeAppLocale(const std::string& locale,
83 AppLocaleChangedVia via) override; 81 AppLocaleChangedVia via) override;
84 void OnLogin() override; 82 void OnLogin() override;
85 void InitChromeOSPreferences() override; 83 void InitChromeOSPreferences() override;
86 #endif // defined(OS_CHROMEOS)
87 84
88 PrefProxyConfigTracker* GetProxyConfigTracker() override; 85 PrefProxyConfigTracker* GetProxyConfigTracker() override;
89 chrome_browser_net::Predictor* GetNetworkPredictor() override; 86 chrome_browser_net::Predictor* GetNetworkPredictor() override;
90 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle() 87 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle()
91 override; 88 override;
92 void ClearNetworkingHistorySince(base::Time time, 89 void ClearNetworkingHistorySince(base::Time time,
93 const base::Closure& completion) override; 90 const base::Closure& completion) override;
94 GURL GetHomePage() override; 91 GURL GetHomePage() override;
95 bool WasCreatedByVersionOrLater(const std::string& version) override; 92 bool WasCreatedByVersionOrLater(const std::string& version) override;
96 void SetExitType(ExitType exit_type) override; 93 void SetExitType(ExitType exit_type) override;
97 ExitType GetLastSessionExitType() override; 94 ExitType GetLastSessionExitType() override;
98 95
99 private: 96 private:
100 std::string name_; 97 std::string name_;
101 base::FilePath path_; 98 base::FilePath path_;
102 }; 99 };
103 100
104 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 101 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/start_page_service.cc ('k') | chrome/browser/ui/app_list/test/fake_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698