OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_OAUTH2_LOGIN_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
13 #include "chrome/browser/chromeos/login/oauth2_login_verifier.h" | 13 #include "chrome/browser/chromeos/login/signin/oauth2_login_verifier.h" |
14 #include "chrome/browser/chromeos/login/oauth2_token_fetcher.h" | 14 #include "chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h" |
15 #include "components/keyed_service/core/keyed_service.h" | 15 #include "components/keyed_service/core/keyed_service.h" |
16 #include "google_apis/gaia/gaia_oauth_client.h" | 16 #include "google_apis/gaia/gaia_oauth_client.h" |
17 #include "google_apis/gaia/oauth2_token_service.h" | 17 #include "google_apis/gaia/oauth2_token_service.h" |
18 #include "net/url_request/url_request_context_getter.h" | 18 #include "net/url_request/url_request_context_getter.h" |
19 | 19 |
20 class GoogleServiceAuthError; | 20 class GoogleServiceAuthError; |
21 class Profile; | 21 class Profile; |
22 class ProfileOAuth2TokenService; | 22 class ProfileOAuth2TokenService; |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // Makes sure list is empty on destruction. | 248 // Makes sure list is empty on destruction. |
249 // TODO(zelidrag|gspencer): Figure out how to get rid of ProfileHelper so we | 249 // TODO(zelidrag|gspencer): Figure out how to get rid of ProfileHelper so we |
250 // can change the line below to ObserverList<Observer, true>. | 250 // can change the line below to ObserverList<Observer, true>. |
251 ObserverList<Observer, false> observer_list_; | 251 ObserverList<Observer, false> observer_list_; |
252 | 252 |
253 DISALLOW_COPY_AND_ASSIGN(OAuth2LoginManager); | 253 DISALLOW_COPY_AND_ASSIGN(OAuth2LoginManager); |
254 }; | 254 }; |
255 | 255 |
256 } // namespace chromeos | 256 } // namespace chromeos |
257 | 257 |
258 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_H_ | 258 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_H_ |
OLD | NEW |