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

Side by Side Diff: chrome/browser/chromeos/login/test_login_utils.h

Issue 322533002: Restart Chrome on ChromeOS as early as possible to speed up restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added check for Oauth data consistency. Created 6 years, 6 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 (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_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "chrome/browser/chromeos/login/auth/authenticator.h" 9 #include "chrome/browser/chromeos/login/auth/authenticator.h"
10 #include "chrome/browser/chromeos/login/auth/user_context.h" 10 #include "chrome/browser/chromeos/login/auth/user_context.h"
(...skipping 16 matching lines...) Expand all
27 virtual void DoBrowserLaunch(Profile* profile, 27 virtual void DoBrowserLaunch(Profile* profile,
28 LoginDisplayHost* login_host) OVERRIDE {} 28 LoginDisplayHost* login_host) OVERRIDE {}
29 virtual void PrepareProfile(const UserContext& user_context, 29 virtual void PrepareProfile(const UserContext& user_context,
30 bool has_cookies, 30 bool has_cookies,
31 bool has_active_session, 31 bool has_active_session,
32 Delegate* delegate) OVERRIDE; 32 Delegate* delegate) OVERRIDE;
33 virtual void DelegateDeleted(Delegate* delegate) OVERRIDE; 33 virtual void DelegateDeleted(Delegate* delegate) OVERRIDE;
34 virtual void CompleteOffTheRecordLogin(const GURL& start_url) OVERRIDE {} 34 virtual void CompleteOffTheRecordLogin(const GURL& start_url) OVERRIDE {}
35 virtual scoped_refptr<Authenticator> CreateAuthenticator( 35 virtual scoped_refptr<Authenticator> CreateAuthenticator(
36 LoginStatusConsumer* consumer) OVERRIDE; 36 LoginStatusConsumer* consumer) OVERRIDE;
37 virtual bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile,
38 bool early_restart) OVERRIDE;
37 39
38 private: 40 private:
39 UserContext expected_user_context_; 41 UserContext expected_user_context_;
40 42
41 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); 43 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils);
42 }; 44 };
43 45
44 } // namespace chromeos 46 } // namespace chromeos
45 47
46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698