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

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

Issue 23678007: OAuth2LoginManager+MergeSessionThrottle hardening, multi-profle support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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_LOGIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // entire login process, even for multiple retries. Authenticator instance 95 // entire login process, even for multiple retries. Authenticator instance
96 // holds reference to login profile and is later used during fetching of 96 // holds reference to login profile and is later used during fetching of
97 // OAuth tokens. 97 // OAuth tokens.
98 // TODO(nkostylev): Cleanup after WebUI login migration is complete. 98 // TODO(nkostylev): Cleanup after WebUI login migration is complete.
99 virtual scoped_refptr<Authenticator> CreateAuthenticator( 99 virtual scoped_refptr<Authenticator> CreateAuthenticator(
100 LoginStatusConsumer* consumer) = 0; 100 LoginStatusConsumer* consumer) = 0;
101 101
102 // Restores authentication session after crash. 102 // Restores authentication session after crash.
103 virtual void RestoreAuthenticationSession(Profile* profile) = 0; 103 virtual void RestoreAuthenticationSession(Profile* profile) = 0;
104 104
105 // Stops background fetchers.
106 virtual void StopBackgroundFetchers() = 0;
107
108 // Initialize RLZ. 105 // Initialize RLZ.
109 virtual void InitRlzDelayed(Profile* user_profile) = 0; 106 virtual void InitRlzDelayed(Profile* user_profile) = 0;
110 }; 107 };
111 108
112 } // namespace chromeos 109 } // namespace chromeos
113 110
114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/fake_login_utils.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698