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

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

Issue 136723009: Move UbertokenFetcher from //chrome to //google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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 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_SIGNIN_GOOGLE_AUTO_LOGIN_HELPER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_GOOGLE_AUTO_LOGIN_HELPER_H_
6 #define CHROME_BROWSER_SIGNIN_GOOGLE_AUTO_LOGIN_HELPER_H_ 6 #define CHROME_BROWSER_SIGNIN_GOOGLE_AUTO_LOGIN_HELPER_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "chrome/browser/signin/ubertoken_fetcher.h"
12 #include "google_apis/gaia/gaia_auth_consumer.h" 11 #include "google_apis/gaia/gaia_auth_consumer.h"
12 #include "google_apis/gaia/ubertoken_fetcher.h"
13 13
14 class GaiaAuthFetcher; 14 class GaiaAuthFetcher;
15 class GoogleServiceAuthError; 15 class GoogleServiceAuthError;
16 class Profile; 16 class Profile;
17 17
18 // Merges a Google account known to Chrome into the cookie jar. Once the 18 // Merges a Google account known to Chrome into the cookie jar. Once the
19 // account is merged, successfully or not, a NOTIFICATION_MERGE_SESSION_COMPLETE 19 // account is merged, successfully or not, a NOTIFICATION_MERGE_SESSION_COMPLETE
20 // notification is sent out. When merging multiple accounts, one instance of 20 // notification is sent out. When merging multiple accounts, one instance of
21 // the helper is better than multiple instances if there is the possibility 21 // the helper is better than multiple instances if there is the possibility
22 // that they run concurrently, since changes to the cookie must be serialized. 22 // that they run concurrently, since changes to the cookie must be serialized.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 std::deque<std::string> accounts_; 75 std::deque<std::string> accounts_;
76 76
77 // List of observers to notify when merge session completes. 77 // List of observers to notify when merge session completes.
78 // Makes sure list is empty on destruction. 78 // Makes sure list is empty on destruction.
79 ObserverList<Observer, true> observer_list_; 79 ObserverList<Observer, true> observer_list_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(GoogleAutoLoginHelper); 81 DISALLOW_COPY_AND_ASSIGN(GoogleAutoLoginHelper);
82 }; 82 };
83 83
84 #endif // CHROME_BROWSER_SIGNIN_GOOGLE_AUTO_LOGIN_HELPER_H_ 84 #endif // CHROME_BROWSER_SIGNIN_GOOGLE_AUTO_LOGIN_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc ('k') | chrome/browser/signin/google_auto_login_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698