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

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

Issue 132803012: Attempt to recover sync token for managed user once we detected that sync auth fails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix usage of metrics Created 6 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/auth_sync_observer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTH_SYNC_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 17 matching lines...) Expand all
28 28
29 private: 29 private:
30 friend class AuthSyncObserverFactory; 30 friend class AuthSyncObserverFactory;
31 31
32 // BrowserContextKeyedService implementation. 32 // BrowserContextKeyedService implementation.
33 virtual void Shutdown() OVERRIDE; 33 virtual void Shutdown() OVERRIDE;
34 34
35 // ProfileSyncServiceObserver implementation. 35 // ProfileSyncServiceObserver implementation.
36 virtual void OnStateChanged() OVERRIDE; 36 virtual void OnStateChanged() OVERRIDE;
37 37
38 // Called on attempt to restore supervised user token.
39 void OnSupervisedTokenLoaded(const std::string& token);
40
38 Profile* profile_; 41 Profile* profile_;
39 42
40 DISALLOW_COPY_AND_ASSIGN(AuthSyncObserver); 43 DISALLOW_COPY_AND_ASSIGN(AuthSyncObserver);
41 }; 44 };
42 45
43 } // namespace chromeos 46 } // namespace chromeos
44 47
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_ 48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_SYNC_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/auth_sync_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698