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

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

Issue 47923016: ChromeOS: Remove Profile::IsLoginProfile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 1 month 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 | Annotate | Revision Log
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.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