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

Side by Side Diff: components/user_manager/user_manager_base.h

Issue 1463753002: ChromeOS: This CL fixes bug in UserManager::GetKnownUserAccountId . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years 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
« no previous file with comments | « components/user_manager/user_manager.cc ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ 5 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_
6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 bool* out_value) override; 122 bool* out_value) override;
123 void SetKnownUserBooleanPref(const AccountId& account_id, 123 void SetKnownUserBooleanPref(const AccountId& account_id,
124 const std::string& path, 124 const std::string& path,
125 const bool in_value) override; 125 const bool in_value) override;
126 bool GetKnownUserIntegerPref(const AccountId& account_id, 126 bool GetKnownUserIntegerPref(const AccountId& account_id,
127 const std::string& path, 127 const std::string& path,
128 int* out_value) override; 128 int* out_value) override;
129 void SetKnownUserIntegerPref(const AccountId& account_id, 129 void SetKnownUserIntegerPref(const AccountId& account_id,
130 const std::string& path, 130 const std::string& path,
131 int in_value) override; 131 int in_value) override;
132 bool GetKnownUserAccountId(const AccountId& authenticated_account_id, 132 AccountId GetKnownUserAccountIdImpl(const std::string& user_email,
133 AccountId* out_account_id) override; 133 const std::string& gaia_id) override;
134 void UpdateGaiaID(const AccountId& account_id, 134 void UpdateGaiaID(const AccountId& account_id,
135 const std::string& gaia_id) override; 135 const std::string& gaia_id) override;
136 bool FindGaiaID(const AccountId& account_id, std::string* out_value) override; 136 bool FindGaiaID(const AccountId& account_id, std::string* out_value) override;
137 void UpdateUsingSAML(const AccountId& account_id, 137 void UpdateUsingSAML(const AccountId& account_id,
138 const bool using_saml) override; 138 const bool using_saml) override;
139 bool FindUsingSAML(const AccountId& account_id) override; 139 bool FindUsingSAML(const AccountId& account_id) override;
140 void SetKnownUserDeviceId(const AccountId& account_id, 140 void SetKnownUserDeviceId(const AccountId& account_id,
141 const std::string& device_id) override; 141 const std::string& device_id) override;
142 std::string GetKnownUserDeviceId(const AccountId& account_id) override; 142 std::string GetKnownUserDeviceId(const AccountId& account_id) override;
143 void SetKnownUserGAPSCookie(const AccountId& account_id, 143 void SetKnownUserGAPSCookie(const AccountId& account_id,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 scoped_refptr<base::TaskRunner> blocking_task_runner_; 432 scoped_refptr<base::TaskRunner> blocking_task_runner_;
433 433
434 base::WeakPtrFactory<UserManagerBase> weak_factory_; 434 base::WeakPtrFactory<UserManagerBase> weak_factory_;
435 435
436 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); 436 DISALLOW_COPY_AND_ASSIGN(UserManagerBase);
437 }; 437 };
438 438
439 } // namespace user_manager 439 } // namespace user_manager
440 440
441 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ 441 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_
OLDNEW
« no previous file with comments | « components/user_manager/user_manager.cc ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698