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

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

Issue 651843003: [cros-login-refactor] Move CompleteOffTheRecordLogin to UserSessionManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years, 2 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/login_utils.h" 9 #include "chrome/browser/chromeos/login/login_utils.h"
10 #include "chromeos/login/auth/authenticator.h" 10 #include "chromeos/login/auth/authenticator.h"
(...skipping 13 matching lines...) Expand all
24 virtual ~TestLoginUtils(); 24 virtual ~TestLoginUtils();
25 25
26 // LoginUtils: 26 // LoginUtils:
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_auth_cookies, 30 bool has_auth_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 {}
35 virtual scoped_refptr<Authenticator> CreateAuthenticator( 34 virtual scoped_refptr<Authenticator> CreateAuthenticator(
36 AuthStatusConsumer* consumer) override; 35 AuthStatusConsumer* consumer) override;
37 virtual bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile, 36 virtual bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile,
38 bool early_restart) override; 37 bool early_restart) override;
39 38
40 private: 39 private:
41 UserContext expected_user_context_; 40 UserContext expected_user_context_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); 42 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils);
44 }; 43 };
45 44
46 } // namespace chromeos 45 } // namespace chromeos
47 46
48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 47 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698