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

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

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
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/app_list/test/fake_profile.h" 5 #include "chrome/browser/ui/app_list/test/fake_profile.h"
6 6
7 FakeProfile::FakeProfile(const std::string& name) 7 FakeProfile::FakeProfile(const std::string& name)
8 : name_(name) { 8 : name_(name) {
9 } 9 }
10 10
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 return base::FilePath(); 168 return base::FilePath();
169 } 169 }
170 170
171 void FakeProfile::set_last_selected_directory(const base::FilePath& path) {} 171 void FakeProfile::set_last_selected_directory(const base::FilePath& path) {}
172 172
173 #if defined(OS_CHROMEOS) 173 #if defined(OS_CHROMEOS)
174 void FakeProfile::ChangeAppLocale( 174 void FakeProfile::ChangeAppLocale(
175 const std::string& locale, AppLocaleChangedVia via) {} 175 const std::string& locale, AppLocaleChangedVia via) {}
176 void FakeProfile::OnLogin() {} 176 void FakeProfile::OnLogin() {}
177 void FakeProfile::InitChromeOSPreferences() {} 177 void FakeProfile::InitChromeOSPreferences() {}
178 bool FakeProfile::IsLoginProfile() {
179 return false;
180 }
181 #endif // defined(OS_CHROMEOS) 178 #endif // defined(OS_CHROMEOS)
182 179
183 PrefProxyConfigTracker* FakeProfile::GetProxyConfigTracker() { 180 PrefProxyConfigTracker* FakeProfile::GetProxyConfigTracker() {
184 return NULL; 181 return NULL;
185 } 182 }
186 183
187 chrome_browser_net::Predictor* FakeProfile::GetNetworkPredictor() { 184 chrome_browser_net::Predictor* FakeProfile::GetNetworkPredictor() {
188 return NULL; 185 return NULL;
189 } 186 }
190 187
191 void FakeProfile::ClearNetworkingHistorySince(base::Time time, 188 void FakeProfile::ClearNetworkingHistorySince(base::Time time,
192 const base::Closure& completion) { 189 const base::Closure& completion) {
193 } 190 }
194 191
195 GURL FakeProfile::GetHomePage() { 192 GURL FakeProfile::GetHomePage() {
196 return GURL(); 193 return GURL();
197 } 194 }
198 195
199 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 196 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
200 return false; 197 return false;
201 } 198 }
202 199
203 void FakeProfile::SetExitType(ExitType exit_type) { 200 void FakeProfile::SetExitType(ExitType exit_type) {
204 } 201 }
205 202
206 Profile::ExitType FakeProfile::GetLastSessionExitType() { 203 Profile::ExitType FakeProfile::GetLastSessionExitType() {
207 return EXIT_NORMAL; 204 return EXIT_NORMAL;
208 } 205 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698