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

Side by Side Diff: chrome/test/base/testing_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
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.cc ('k') | chrome/test/base/testing_profile.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 virtual void SetExitType(ExitType exit_type) OVERRIDE {} 297 virtual void SetExitType(ExitType exit_type) OVERRIDE {}
298 virtual ExitType GetLastSessionExitType() OVERRIDE; 298 virtual ExitType GetLastSessionExitType() OVERRIDE;
299 #if defined(OS_CHROMEOS) 299 #if defined(OS_CHROMEOS)
300 virtual void ChangeAppLocale(const std::string&, 300 virtual void ChangeAppLocale(const std::string&,
301 AppLocaleChangedVia) OVERRIDE { 301 AppLocaleChangedVia) OVERRIDE {
302 } 302 }
303 virtual void OnLogin() OVERRIDE { 303 virtual void OnLogin() OVERRIDE {
304 } 304 }
305 virtual void InitChromeOSPreferences() OVERRIDE { 305 virtual void InitChromeOSPreferences() OVERRIDE {
306 } 306 }
307 virtual bool IsLoginProfile() OVERRIDE;
308 #endif // defined(OS_CHROMEOS) 307 #endif // defined(OS_CHROMEOS)
309 308
310 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 309 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
311 310
312 // Schedules a task on the history backend and runs a nested loop until the 311 // Schedules a task on the history backend and runs a nested loop until the
313 // task is processed. This has the effect of blocking the caller until the 312 // task is processed. This has the effect of blocking the caller until the
314 // history service processes all pending requests. 313 // history service processes all pending requests.
315 void BlockUntilHistoryProcessesPendingRequests(); 314 void BlockUntilHistoryProcessesPendingRequests();
316 315
317 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 316 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 394
396 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 395 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
397 396
398 // Weak pointer to a delegate for indicating that a profile was created. 397 // Weak pointer to a delegate for indicating that a profile was created.
399 Delegate* delegate_; 398 Delegate* delegate_;
400 399
401 std::string profile_name_; 400 std::string profile_name_;
402 }; 401 };
403 402
404 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 403 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698