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

Side by Side Diff: chrome/browser/signin/signin_manager.h

Issue 12502017: signin: pull basic SigninManager functionality into new SigninManagerBase class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: megarebase Created 7 years, 8 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 // The signin manager encapsulates some functionality tracking 5 // The signin manager encapsulates some functionality tracking
6 // which user is signed in. When a user is signed in, a ClientLogin 6 // which user is signed in. See SigninManagerBase for full description of
7 // request is run on their behalf. Auth tokens are fetched from Google 7 // responsibilities. The class defined in this file provides functionality
8 // and the results are stored in the TokenService. 8 // required by all platforms except Chrome OS.
9 // 9 //
10 // **NOTE** on semantics of SigninManager: 10 // When a user is signed in, a ClientLogin request is run on their behalf.
11 // 11 // Auth tokens are fetched from Google and the results are stored in the
12 // Once a signin is successful, the username becomes "established" and will not 12 // TokenService.
13 // be cleared until a SignOut operation is performed (persists across 13 // TODO(tim): Bug 92948, 226464. ClientLogin is all but gone from use.
14 // restarts). Until that happens, the signin manager can still be used to
15 // refresh credentials, but changing the username is not permitted.
16 14
17 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 15 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
18 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 16 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
19 17
18 #if defined(OS_CHROMEOS)
19 // On Chrome OS, SigninManagerBase is all that exists.
20 #include "chrome/browser/signin/signin_manager_base.h"
21
22 #else
23
20 #include <string> 24 #include <string>
21 25
22 #include "base/compiler_specific.h" 26 #include "base/compiler_specific.h"
23 #include "base/gtest_prod_util.h" 27 #include "base/gtest_prod_util.h"
24 #include "base/logging.h" 28 #include "base/logging.h"
25 #include "base/memory/scoped_ptr.h" 29 #include "base/memory/scoped_ptr.h"
26 #include "base/observer_list.h" 30 #include "base/observer_list.h"
27 #include "base/prefs/pref_change_registrar.h" 31 #include "base/prefs/pref_change_registrar.h"
28 #include "base/prefs/pref_member.h" 32 #include "base/prefs/pref_member.h"
29 #include "chrome/browser/profiles/profile.h" 33 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/profiles/profile_keyed_service.h" 34 #include "chrome/browser/profiles/profile_keyed_service.h"
31 #include "chrome/browser/signin/signin_internals_util.h" 35 #include "chrome/browser/signin/signin_internals_util.h"
36 #include "chrome/browser/signin/signin_manager_base.h"
32 #include "chrome/browser/signin/ubertoken_fetcher.h" 37 #include "chrome/browser/signin/ubertoken_fetcher.h"
33 #include "content/public/browser/notification_observer.h" 38 #include "content/public/browser/notification_observer.h"
34 #include "content/public/browser/notification_registrar.h" 39 #include "content/public/browser/notification_registrar.h"
35 #include "google_apis/gaia/gaia_auth_consumer.h" 40 #include "google_apis/gaia/gaia_auth_consumer.h"
36 #include "google_apis/gaia/google_service_auth_error.h" 41 #include "google_apis/gaia/google_service_auth_error.h"
37 #include "net/cookies/canonical_cookie.h" 42 #include "net/cookies/canonical_cookie.h"
38 43
39 class CookieSettings; 44 class CookieSettings;
40 class GaiaAuthFetcher; 45 class GaiaAuthFetcher;
41 class ProfileIOData; 46 class ProfileIOData;
42 class PrefService; 47 class PrefService;
43 class SigninGlobalError; 48 class SigninGlobalError;
44 49
45 namespace policy { 50 namespace policy {
46 class CloudPolicyClient; 51 class CloudPolicyClient;
47 } 52 }
48 53
49 // Details for the Notification type GOOGLE_SIGNIN_SUCCESSFUL. 54 class SigninManager : public SigninManagerBase,
50 // A listener might use this to make note of a username / password 55 public GaiaAuthConsumer,
51 // pair for encryption keys.
52 struct GoogleServiceSigninSuccessDetails {
53 GoogleServiceSigninSuccessDetails(const std::string& in_username,
54 const std::string& in_password)
55 : username(in_username),
56 password(in_password) {}
57 std::string username;
58 std::string password;
59 };
60
61 // Details for the Notification type NOTIFICATION_GOOGLE_SIGNED_OUT.
62 struct GoogleServiceSignoutDetails {
63 explicit GoogleServiceSignoutDetails(const std::string& in_username)
64 : username(in_username) {}
65 std::string username;
66 };
67
68 class SigninManager : public GaiaAuthConsumer,
69 public UbertokenConsumer, 56 public UbertokenConsumer,
70 public content::NotificationObserver, 57 public content::NotificationObserver {
71 public ProfileKeyedService {
72 public: 58 public:
73 // Methods to register or remove SigninDiagnosticObservers
74 void AddSigninDiagnosticsObserver(
75 signin_internals_util::SigninDiagnosticsObserver* observer);
76 void RemoveSigninDiagnosticsObserver(
77 signin_internals_util::SigninDiagnosticsObserver* observer);
78
79 // Returns true if the cookie policy for the given profile allows cookies
80 // for the Google signin domain.
81 static bool AreSigninCookiesAllowed(Profile* profile);
82 static bool AreSigninCookiesAllowed(CookieSettings* cookie_settings);
83
84 // Returns true if the username is allowed based on the policy string.
85 static bool IsAllowedUsername(const std::string& username,
86 const std::string& policy);
87
88 // Returns true if |url| is a web signin URL and should be hosted in an 59 // Returns true if |url| is a web signin URL and should be hosted in an
89 // isolated, privileged signin process. 60 // isolated, privileged signin process.
90 static bool IsWebBasedSigninFlowURL(const GURL& url); 61 static bool IsWebBasedSigninFlowURL(const GURL& url);
91 62
92 // This is used to distinguish URLs belonging to the special web signin flow 63 // This is used to distinguish URLs belonging to the special web signin flow
93 // running in the special signin process from other URLs on the same domain. 64 // running in the special signin process from other URLs on the same domain.
94 // We do not grant WebUI privilieges / bindings to this process or to URLs of 65 // We do not grant WebUI privilieges / bindings to this process or to URLs of
95 // this scheme; enforcement of privileges is handled separately by 66 // this scheme; enforcement of privileges is handled separately by
96 // OneClickSigninHelper. 67 // OneClickSigninHelper.
97 static const char* kChromeSigninEffectiveSite; 68 static const char* kChromeSigninEffectiveSite;
98 69
99 SigninManager(); 70 SigninManager();
100 virtual ~SigninManager(); 71 virtual ~SigninManager();
101 72
102 // If user was signed in, load tokens from DB if available.
103 void Initialize(Profile* profile);
104 bool IsInitialized() const;
105
106 // Returns true if the passed username is allowed by policy. Virtual for
107 // mocking in tests.
108 virtual bool IsAllowedUsername(const std::string& username) const;
109
110 // Returns true if a signin to Chrome is allowed (by policy or pref).
111 bool IsSigninAllowed() const;
112
113 // Checks if signin is allowed for the profile that owns |io_data|. This must
114 // be invoked on the IO thread, and can be used to check if signin is enabled
115 // on that thread.
116 static bool IsSigninAllowedOnIOThread(ProfileIOData* io_data);
117
118 // If a user has previously established a username and SignOut has not been
119 // called, this will return the username.
120 // Otherwise, it will return an empty string.
121 const std::string& GetAuthenticatedUsername() const;
122
123 // Sets the user name. Note: |username| should be already authenticated as
124 // this is a sticky operation (in contrast to StartSignIn).
125 // TODO(tim): Remove this in favor of passing username on construction by
126 // (by platform / depending on StartBehavior). Bug 88109.
127 void SetAuthenticatedUsername(const std::string& username);
128
129 // Attempt to sign in this user with ClientLogin. If successful, set a 73 // Attempt to sign in this user with ClientLogin. If successful, set a
130 // preference indicating the signed in user and send out a notification, 74 // preference indicating the signed in user and send out a notification,
131 // then start fetching tokens for the user. 75 // then start fetching tokens for the user.
132 // This is overridden for test subclasses that don't want to issue auth 76 // This is overridden for test subclasses that don't want to issue auth
133 // requests. 77 // requests.
134 virtual void StartSignIn(const std::string& username, 78 virtual void StartSignIn(const std::string& username,
135 const std::string& password, 79 const std::string& password,
136 const std::string& login_token, 80 const std::string& login_token,
137 const std::string& login_captcha); 81 const std::string& login_captcha);
138 82
(...skipping 18 matching lines...) Expand all
157 // Provide a challenge solution to a failed signin attempt with 101 // Provide a challenge solution to a failed signin attempt with
158 // StartSignInWithOAuth(). |type| and |token| come from the 102 // StartSignInWithOAuth(). |type| and |token| come from the
159 // GoogleServiceAuthError of the failed attempt. 103 // GoogleServiceAuthError of the failed attempt.
160 // |solution| is the answer typed by the user. 104 // |solution| is the answer typed by the user.
161 void ProvideOAuthChallengeResponse(GoogleServiceAuthError::State type, 105 void ProvideOAuthChallengeResponse(GoogleServiceAuthError::State type,
162 const std::string& token, 106 const std::string& token,
163 const std::string& solution); 107 const std::string& solution);
164 108
165 // Sign a user out, removing the preference, erasing all keys 109 // Sign a user out, removing the preference, erasing all keys
166 // associated with the user, and canceling all auth in progress. 110 // associated with the user, and canceling all auth in progress.
167 virtual void SignOut(); 111 virtual void SignOut() OVERRIDE;
168 112
169 // Returns true if there's a signin in progress. Virtual so it can be 113 // Returns true if there's a signin in progress.
170 // overridden by mocks. 114 virtual bool AuthInProgress() const OVERRIDE;
171 virtual bool AuthInProgress() const;
172 115
173 // Handles errors if a required user info key is not returned from the 116 // Handles errors if a required user info key is not returned from the
174 // GetUserInfo call. 117 // GetUserInfo call.
175 void OnGetUserInfoKeyNotFound(const std::string& key); 118 void OnGetUserInfoKeyNotFound(const std::string& key);
176 119
177 // Set the profile preference to turn off one-click sign-in so that it won't 120 // Set the profile preference to turn off one-click sign-in so that it won't
178 // ever show it again in this profile (even if the user tries a new account). 121 // ever show it again in this profile (even if the user tries a new account).
179 static void DisableOneClickSignIn(Profile* profile); 122 static void DisableOneClickSignIn(Profile* profile);
180 123
181 // GaiaAuthConsumer 124 // GaiaAuthConsumer
(...skipping 10 matching lines...) Expand all
192 135
193 // UbertokenConsumer 136 // UbertokenConsumer
194 virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE; 137 virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE;
195 virtual void OnUbertokenFailure(const GoogleServiceAuthError& error) OVERRIDE; 138 virtual void OnUbertokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
196 139
197 // content::NotificationObserver 140 // content::NotificationObserver
198 virtual void Observe(int type, 141 virtual void Observe(int type,
199 const content::NotificationSource& source, 142 const content::NotificationSource& source,
200 const content::NotificationDetails& details) OVERRIDE; 143 const content::NotificationDetails& details) OVERRIDE;
201 144
202 SigninGlobalError* signin_global_error() {
203 return signin_global_error_.get();
204 }
205
206 const SigninGlobalError* signin_global_error() const {
207 return signin_global_error_.get();
208 }
209
210 // ProfileKeyedService implementation.
211 virtual void Shutdown() OVERRIDE;
212 145
213 // Tells the SigninManager whether to prohibit signout for this profile. 146 // Tells the SigninManager whether to prohibit signout for this profile.
214 // If |prohibit_signout| is true, then signout will be prohibited. 147 // If |prohibit_signout| is true, then signout will be prohibited.
215 void ProhibitSignout(bool prohibit_signout); 148 void ProhibitSignout(bool prohibit_signout);
216 149
217 // If true, signout is prohibited for this profile (calls to SignOut() are 150 // If true, signout is prohibited for this profile (calls to SignOut() are
218 // ignored). 151 // ignored).
219 bool IsSignoutProhibited() const; 152 bool IsSignoutProhibited() const;
220 153
221 // Allows the SigninManager to track the privileged signin process 154 // Allows the SigninManager to track the privileged signin process
222 // identified by |process_id| so that we can later ask (via IsSigninProcess) 155 // identified by |process_id| so that we can later ask (via IsSigninProcess)
223 // if it is safe to sign the user in from the current context (see 156 // if it is safe to sign the user in from the current context (see
224 // OneClickSigninHelper). All of this tracking state is reset once the 157 // OneClickSigninHelper). All of this tracking state is reset once the
225 // renderer process terminates. 158 // renderer process terminates.
226 void SetSigninProcess(int process_id); 159 void SetSigninProcess(int process_id);
227 bool IsSigninProcess(int process_id) const; 160 bool IsSigninProcess(int process_id) const;
228 bool HasSigninProcess() const; 161 bool HasSigninProcess() const;
229 162
230 protected: 163 protected:
231 // Weak pointer to parent profile (protected so FakeSigninManager can access 164 // If user was signed in, load tokens from DB if available.
232 // it). 165 virtual void InitTokenService() OVERRIDE;
233 Profile* profile_;
234
235 // Used to show auth errors in the wrench menu. The SigninGlobalError is
236 // different than most GlobalErrors in that its lifetime is controlled by
237 // SigninManager (so we can expose a reference for use in the wrench menu).
238 scoped_ptr<SigninGlobalError> signin_global_error_;
239 166
240 // Flag saying whether signing out is allowed. 167 // Flag saying whether signing out is allowed.
241 bool prohibit_signout_; 168 bool prohibit_signout_;
242 169
243 private: 170 private:
244 enum SigninType { 171 enum SigninType {
245 SIGNIN_TYPE_NONE, 172 SIGNIN_TYPE_NONE,
246 SIGNIN_TYPE_CLIENT_LOGIN, 173 SIGNIN_TYPE_CLIENT_LOGIN,
247 SIGNIN_TYPE_WITH_CREDENTIALS, 174 SIGNIN_TYPE_WITH_CREDENTIALS,
248 SIGNIN_TYPE_CLIENT_OAUTH, 175 SIGNIN_TYPE_CLIENT_OAUTH,
249 }; 176 };
250 177
251 std::string SigninTypeToString(SigninType type); 178 std::string SigninTypeToString(SigninType type);
252 179
253 friend class FakeSigninManager;
254 FRIEND_TEST_ALL_PREFIXES(SigninManagerTest, ClearTransientSigninData); 180 FRIEND_TEST_ALL_PREFIXES(SigninManagerTest, ClearTransientSigninData);
255 FRIEND_TEST_ALL_PREFIXES(SigninManagerTest, ProvideSecondFactorSuccess); 181 FRIEND_TEST_ALL_PREFIXES(SigninManagerTest, ProvideSecondFactorSuccess);
256 FRIEND_TEST_ALL_PREFIXES(SigninManagerTest, ProvideSecondFactorFailure); 182 FRIEND_TEST_ALL_PREFIXES(SigninManagerTest, ProvideSecondFactorFailure);
257 183
258 // Called to setup the transient signin data during one of the 184 // Called to setup the transient signin data during one of the
259 // StartSigninXXX methods. |type| indicates which of the methods is being 185 // StartSigninXXX methods. |type| indicates which of the methods is being
260 // used to perform the signin while |username| and |password| identify the 186 // used to perform the signin while |username| and |password| identify the
261 // account to be signed in. Returns false and generates an auth error if the 187 // account to be signed in. Returns false and generates an auth error if the
262 // passed |username| is not allowed by policy. 188 // passed |username| is not allowed by policy.
263 bool PrepareForSignin(SigninType type, 189 bool PrepareForSignin(SigninType type,
(...skipping 17 matching lines...) Expand all
281 // Called to handle an error from a GAIA auth fetch. Sets the last error 207 // Called to handle an error from a GAIA auth fetch. Sets the last error
282 // to |error|, sends out a notification of login failure, and clears the 208 // to |error|, sends out a notification of login failure, and clears the
283 // transient signin data if |clear_transient_data| is true. 209 // transient signin data if |clear_transient_data| is true.
284 void HandleAuthError(const GoogleServiceAuthError& error, 210 void HandleAuthError(const GoogleServiceAuthError& error,
285 bool clear_transient_data); 211 bool clear_transient_data);
286 212
287 // Called to tell GAIA that we will no longer be using the current refresh 213 // Called to tell GAIA that we will no longer be using the current refresh
288 // token. 214 // token.
289 void RevokeOAuthLoginToken(); 215 void RevokeOAuthLoginToken();
290 216
291 #if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) 217 #if defined(ENABLE_CONFIGURATION_POLICY)
292 // Callback invoked once policy registration is complete. If registration 218 // Callback invoked once policy registration is complete. If registration
293 // fails, |client| will be null. 219 // fails, |client| will be null.
294 void OnRegisteredForPolicy(scoped_ptr<policy::CloudPolicyClient> client); 220 void OnRegisteredForPolicy(scoped_ptr<policy::CloudPolicyClient> client);
295 221
296 // Callback invoked when a policy fetch request has completed. |success| is 222 // Callback invoked when a policy fetch request has completed. |success| is
297 // true if policy was successfully fetched. 223 // true if policy was successfully fetched.
298 void OnPolicyFetchComplete(bool success); 224 void OnPolicyFetchComplete(bool success);
299 225
300 // Called to create a new profile, which is then signed in with the 226 // Called to create a new profile, which is then signed in with the
301 // in-progress auth credentials currently stored in this object. 227 // in-progress auth credentials currently stored in this object.
302 void TransferCredentialsToNewProfile(); 228 void TransferCredentialsToNewProfile();
303 229
304 // Helper function that loads policy with the passed CloudPolicyClient, then 230 // Helper function that loads policy with the passed CloudPolicyClient, then
305 // completes the signin process. 231 // completes the signin process.
306 void LoadPolicyWithCachedClient(); 232 void LoadPolicyWithCachedClient();
307 233
308 // Callback invoked once a profile is created, so we can complete the 234 // Callback invoked once a profile is created, so we can complete the
309 // credentials transfer and load policy. 235 // credentials transfer and load policy.
310 void CompleteSigninForNewProfile(Profile* profile, 236 void CompleteSigninForNewProfile(Profile* profile,
311 Profile::CreateStatus status); 237 Profile::CreateStatus status);
312 238
313 // Cancels the in-progress signin for this profile. 239 // Cancels the in-progress signin for this profile.
314 void CancelSignin(); 240 void CancelSignin();
315 #endif // defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) 241
242 #endif // defined(ENABLE_CONFIGURATION_POLICY)
316 243
317 // Invoked once policy has been loaded to complete user signin. 244 // Invoked once policy has been loaded to complete user signin.
318 void CompleteSigninAfterPolicyLoad(); 245 void CompleteSigninAfterPolicyLoad();
319 246
320 // ClientLogin identity. 247 // ClientLogin identity.
321 std::string possibly_invalid_username_; 248 std::string possibly_invalid_username_;
322 std::string password_; // This is kept empty whenever possible. 249 std::string password_; // This is kept empty whenever possible.
323 bool had_two_factor_error_; 250 bool had_two_factor_error_;
324 251
325 void CleanupNotificationRegistration(); 252 void CleanupNotificationRegistration();
326 253
327 void OnGoogleServicesUsernamePatternChanged();
328
329 void OnSigninAllowedPrefChanged();
330
331 // Helper methods to notify all registered diagnostics observers with.
332 void NotifyDiagnosticsObservers(
333 const signin_internals_util::UntimedSigninStatusField& field,
334 const std::string& value);
335 void NotifyDiagnosticsObservers(
336 const signin_internals_util::TimedSigninStatusField& field,
337 const std::string& value);
338
339 // Result of the last client login, kept pending the lookup of the 254 // Result of the last client login, kept pending the lookup of the
340 // canonical email. 255 // canonical email.
341 ClientLoginResult last_result_; 256 ClientLoginResult last_result_;
342 257
343 // Actual client login handler. 258 // Actual client login handler.
344 scoped_ptr<GaiaAuthFetcher> client_login_; 259 scoped_ptr<GaiaAuthFetcher> client_login_;
345 260
346 // Registrar for notifications from the TokenService. 261 // Registrar for notifications from the TokenService.
347 content::NotificationRegistrar registrar_; 262 content::NotificationRegistrar registrar_;
348 263
349 // UbertokenFetcher to login to user to the web property. 264 // UbertokenFetcher to login to user to the web property.
350 scoped_ptr<UbertokenFetcher> ubertoken_fetcher_; 265 scoped_ptr<UbertokenFetcher> ubertoken_fetcher_;
351 266
352 // OAuth revocation fetcher for sign outs. 267 // OAuth revocation fetcher for sign outs.
353 scoped_ptr<GaiaAuthFetcher> revoke_token_fetcher_; 268 scoped_ptr<GaiaAuthFetcher> revoke_token_fetcher_;
354 269
355 // Helper object to listen for changes to signin preferences stored in non-
356 // profile-specific local prefs (like kGoogleServicesUsernamePattern).
357 PrefChangeRegistrar local_state_pref_registrar_;
358
359 // Helper object to listen for changes to the signin allowed preference.
360 BooleanPrefMember signin_allowed_;
361
362 // Actual username after successful authentication.
363 std::string authenticated_username_;
364
365 // The type of sign being performed. This value is valid only between a call 270 // The type of sign being performed. This value is valid only between a call
366 // to one of the StartSigninXXX methods and when the sign in is either 271 // to one of the StartSigninXXX methods and when the sign in is either
367 // successful or not. 272 // successful or not.
368 SigninType type_; 273 SigninType type_;
369 274
370 // Temporarily saves the oauth2 refresh and access tokens when signing in 275 // Temporarily saves the oauth2 refresh and access tokens when signing in
371 // with credentials. These will be passed to TokenService so that it does 276 // with credentials. These will be passed to TokenService so that it does
372 // not need to mint new ones. 277 // not need to mint new ones.
373 ClientOAuthResult temp_oauth_login_tokens_; 278 ClientOAuthResult temp_oauth_login_tokens_;
374 279
375 // The list of SigninDiagnosticObservers.
376 ObserverList<signin_internals_util::SigninDiagnosticsObserver, true>
377 signin_diagnostics_observers_;
378
379 base::WeakPtrFactory<SigninManager> weak_pointer_factory_; 280 base::WeakPtrFactory<SigninManager> weak_pointer_factory_;
380 281
381 // See SetSigninProcess. Tracks the currently active signin process 282 // See SetSigninProcess. Tracks the currently active signin process
382 // by ID, if there is one. 283 // by ID, if there is one.
383 int signin_process_id_; 284 int signin_process_id_;
384 285
385 #if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) 286 #if defined(ENABLE_CONFIGURATION_POLICY)
386 // CloudPolicyClient reference we keep while determining whether to create 287 // CloudPolicyClient reference we keep while determining whether to create
387 // a new profile for an enterprise user or not. 288 // a new profile for an enterprise user or not.
388 scoped_ptr<policy::CloudPolicyClient> policy_client_; 289 scoped_ptr<policy::CloudPolicyClient> policy_client_;
389 #endif 290 #endif
390 291
391 DISALLOW_COPY_AND_ASSIGN(SigninManager); 292 DISALLOW_COPY_AND_ASSIGN(SigninManager);
392 }; 293 };
393 294
295 #endif // !defined(OS_CHROMEOS)
296
394 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 297 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698