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

Side by Side Diff: chrome/browser/chromeos/login/login_performer.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_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/chromeos/login/authenticator.h" 12 #include "chrome/browser/chromeos/login/authenticator.h"
13 #include "chrome/browser/chromeos/login/login_status_consumer.h" 13 #include "chrome/browser/chromeos/login/login_status_consumer.h"
14 #include "chrome/browser/chromeos/login/online_attempt_host.h" 14 #include "chrome/browser/chromeos/login/online_attempt_host.h"
15 #include "chrome/browser/profiles/profile_manager.h" 15 #include "chrome/browser/profiles/profile_manager.h"
16 #include "chrome/common/net/gaia/google_service_auth_error.h"
17 #include "content/public/browser/notification_observer.h" 16 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 17 #include "content/public/browser/notification_registrar.h"
18 #include "google_apis/gaia/google_service_auth_error.h"
19 19
20 namespace chromeos { 20 namespace chromeos {
21 21
22 // This class encapsulates sign in operations. 22 // This class encapsulates sign in operations.
23 // Sign in is performed in a way that offline auth is executed first. 23 // Sign in is performed in a way that offline auth is executed first.
24 // Once offline auth is OK - user homedir is mounted, UI is launched. 24 // Once offline auth is OK - user homedir is mounted, UI is launched.
25 // At this point LoginPerformer |delegate_| is destroyed and it releases 25 // At this point LoginPerformer |delegate_| is destroyed and it releases
26 // LP instance ownership. LP waits for online login result. 26 // LP instance ownership. LP waits for online login result.
27 // If auth is succeeded, cookie fetcher is executed, LP instance deletes itself. 27 // If auth is succeeded, cookie fetcher is executed, LP instance deletes itself.
28 // 28 //
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 bool using_oauth_; 221 bool using_oauth_;
222 222
223 base::WeakPtrFactory<LoginPerformer> weak_factory_; 223 base::WeakPtrFactory<LoginPerformer> weak_factory_;
224 224
225 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 225 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
226 }; 226 };
227 227
228 } // namespace chromeos 228 } // namespace chromeos
229 229
230 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 230 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698