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

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

Issue 1117453002: Add gaia_id to ProfileInfoCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROME_SIGNIN_CLIENT_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_
6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ 6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/signin/core/browser/signin_client.h" 10 #include "components/signin/core/browser/signin_client.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Returns a string describing the chrome version environment. Version format: 53 // Returns a string describing the chrome version environment. Version format:
54 // <Build Info> <OS> <Version number> (<Last change>)<channel or "-devel"> 54 // <Build Info> <OS> <Version number> (<Last change>)<channel or "-devel">
55 // If version information is unavailable, returns "invalid." 55 // If version information is unavailable, returns "invalid."
56 std::string GetProductVersion() override; 56 std::string GetProductVersion() override;
57 scoped_ptr<CookieChangedSubscription> AddCookieChangedCallback( 57 scoped_ptr<CookieChangedSubscription> AddCookieChangedCallback(
58 const GURL& url, 58 const GURL& url,
59 const std::string& name, 59 const std::string& name,
60 const net::CookieStore::CookieChangedCallback& callback) override; 60 const net::CookieStore::CookieChangedCallback& callback) override;
61 void OnSignedIn(const std::string& account_id, 61 void OnSignedIn(const std::string& account_id,
62 const std::string& gaia_id,
62 const std::string& username, 63 const std::string& username,
63 const std::string& password) override; 64 const std::string& password) override;
64 void PostSignedIn(const std::string& account_id, 65 void PostSignedIn(const std::string& account_id,
65 const std::string& username, 66 const std::string& username,
66 const std::string& password) override; 67 const std::string& password) override;
67 bool UpdateAccountInfo( 68 bool UpdateAccountInfo(
68 AccountTrackerService::AccountInfo* out_account_info) override; 69 AccountTrackerService::AccountInfo* out_account_info) override;
69 70
70 // SigninErrorController::Observer implementation. 71 // SigninErrorController::Observer implementation.
71 void OnErrorChanged() override; 72 void OnErrorChanged() override;
72 73
73 #if !defined(OS_CHROMEOS) 74 #if !defined(OS_CHROMEOS)
74 // net::NetworkChangeController::NetworkChangeObserver implementation. 75 // net::NetworkChangeController::NetworkChangeObserver implementation.
75 void OnNetworkChanged(net::NetworkChangeNotifier::ConnectionType type) 76 void OnNetworkChanged(net::NetworkChangeNotifier::ConnectionType type)
76 override; 77 override;
77 #endif 78 #endif
78 79
79 private: 80 private:
80 Profile* profile_; 81 Profile* profile_;
81 82
82 SigninErrorController* signin_error_controller_; 83 SigninErrorController* signin_error_controller_;
83 #if !defined(OS_CHROMEOS) 84 #if !defined(OS_CHROMEOS)
84 std::list<base::Closure> delayed_callbacks_; 85 std::list<base::Closure> delayed_callbacks_;
85 #endif 86 #endif
86 87
87 DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient); 88 DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient);
88 }; 89 };
89 90
90 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ 91 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_window.cc ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698