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

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

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 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_SIGNIN_SIGNIN_TRACKER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_H_
7 7
8 #include "chrome/browser/sync/profile_sync_service_observer.h" 8 #include "chrome/browser/sync/profile_sync_service_observer.h"
9 #include "chrome/common/net/gaia/google_service_auth_error.h"
10 #include "content/public/browser/notification_observer.h" 9 #include "content/public/browser/notification_observer.h"
11 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
12 #include "content/public/browser/notification_types.h" 11 #include "content/public/browser/notification_types.h"
12 #include "google_apis/gaia/google_service_auth_error.h"
13 13
14 class Profile; 14 class Profile;
15 15
16 // The signin flow logic is spread across several classes with varying 16 // The signin flow logic is spread across several classes with varying
17 // responsibilities: 17 // responsibilities:
18 // 18 //
19 // SigninTracker (this class) - This class listens to notifications from various 19 // SigninTracker (this class) - This class listens to notifications from various
20 // services (SigninManager, ProfileSyncService, etc) and coalesces them into 20 // services (SigninManager, ProfileSyncService, etc) and coalesces them into
21 // notifications for the UI layer. This is the class that encapsulates the logic 21 // notifications for the UI layer. This is the class that encapsulates the logic
22 // that determines whether a user is fully logged in or not, and exposes 22 // that determines whether a user is fully logged in or not, and exposes
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Set to true when SigninManager has validated our credentials. 112 // Set to true when SigninManager has validated our credentials.
113 bool credentials_valid_; 113 bool credentials_valid_;
114 114
115 // Used to listen to notifications from the SigninManager. 115 // Used to listen to notifications from the SigninManager.
116 content::NotificationRegistrar registrar_; 116 content::NotificationRegistrar registrar_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(SigninTracker); 118 DISALLOW_COPY_AND_ASSIGN(SigninTracker);
119 }; 119 };
120 120
121 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_H_ 121 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | chrome/browser/signin/signin_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698