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

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

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 // The signin manager encapsulates some functionality tracking 5 // The signin manager encapsulates some functionality tracking
6 // which user is signed in. When a user is signed in, a ClientLogin 6 // which user is signed in. When a user is signed in, a ClientLogin
7 // request is run on their behalf. Auth tokens are fetched from Google 7 // request is run on their behalf. Auth tokens are fetched from Google
8 // and the results are stored in the TokenService. 8 // and the results are stored in the TokenService.
9 // 9 //
10 // **NOTE** on semantics of SigninManager: 10 // **NOTE** on semantics of SigninManager:
11 // 11 //
12 // Once a signin is successful, the username becomes "established" and will not 12 // Once a signin is successful, the username becomes "established" and will not
13 // be cleared until a SignOut operation is performed (persists across 13 // be cleared until a SignOut operation is performed (persists across
14 // restarts). Until that happens, the signin manager can still be used to 14 // restarts). Until that happens, the signin manager can still be used to
15 // refresh credentials, but changing the username is not permitted. 15 // refresh credentials, but changing the username is not permitted.
16 16
17 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 17 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
18 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 18 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
19 19
20 #include <string> 20 #include <string>
21 21
22 #include "base/compiler_specific.h" 22 #include "base/compiler_specific.h"
23 #include "base/gtest_prod_util.h" 23 #include "base/gtest_prod_util.h"
24 #include "base/logging.h" 24 #include "base/logging.h"
25 #include "base/memory/scoped_ptr.h" 25 #include "base/memory/scoped_ptr.h"
26 #include "base/observer_list.h" 26 #include "base/observer_list.h"
27 #include "base/prefs/public/pref_change_registrar.h" 27 #include "base/prefs/pref_change_registrar.h"
28 #include "base/prefs/public/pref_member.h" 28 #include "base/prefs/pref_member.h"
29 #include "chrome/browser/profiles/profile.h" 29 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/profiles/profile_keyed_service.h" 30 #include "chrome/browser/profiles/profile_keyed_service.h"
31 #include "chrome/browser/signin/signin_internals_util.h" 31 #include "chrome/browser/signin/signin_internals_util.h"
32 #include "chrome/browser/signin/ubertoken_fetcher.h" 32 #include "chrome/browser/signin/ubertoken_fetcher.h"
33 #include "content/public/browser/notification_observer.h" 33 #include "content/public/browser/notification_observer.h"
34 #include "content/public/browser/notification_registrar.h" 34 #include "content/public/browser/notification_registrar.h"
35 #include "google_apis/gaia/gaia_auth_consumer.h" 35 #include "google_apis/gaia/gaia_auth_consumer.h"
36 #include "google_apis/gaia/google_service_auth_error.h" 36 #include "google_apis/gaia/google_service_auth_error.h"
37 #include "net/cookies/canonical_cookie.h" 37 #include "net/cookies/canonical_cookie.h"
38 38
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 #if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) 373 #if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS)
374 // CloudPolicyClient reference we keep while determining whether to create 374 // CloudPolicyClient reference we keep while determining whether to create
375 // a new profile for an enterprise user or not. 375 // a new profile for an enterprise user or not.
376 scoped_ptr<policy::CloudPolicyClient> policy_client_; 376 scoped_ptr<policy::CloudPolicyClient> policy_client_;
377 #endif 377 #endif
378 378
379 DISALLOW_COPY_AND_ASSIGN(SigninManager); 379 DISALLOW_COPY_AND_ASSIGN(SigninManager);
380 }; 380 };
381 381
382 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 382 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service.h ('k') | chrome/browser/speech/chrome_speech_recognition_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698