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

Unified Diff: components/signin/core/account_id/account_id.h

Issue 2617763003: Add a mojo interface for AccountId (Closed)
Patch Set: allow UNKNOWN account type Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client.cc ('k') | components/signin/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/account_id/account_id.h
diff --git a/components/signin/core/account_id/account_id.h b/components/signin/core/account_id/account_id.h
index 4bc02054a86caede0d828110db4523693b789483..cc171b5c79e4265816c887cd41c524759a41a354 100644
--- a/components/signin/core/account_id/account_id.h
+++ b/components/signin/core/account_id/account_id.h
@@ -24,6 +24,7 @@ class AccountId {
public:
struct EmptyAccountId;
+ AccountId();
msarda 2017/01/09 10:28:50 Why is this change needed?
xiyuan 2017/01/09 17:42:57 This is needed for mojo deserialization. The code
msarda 2017/01/10 15:04:22 Thank you for the explanation. I am fine with us a
xiyuan 2017/01/12 00:06:54 Done.
AccountId(const AccountId& other);
// If any of the comparable AccountIds has AccountType == UNKNOWN then it
@@ -90,7 +91,6 @@ class AccountId {
AccountId* out_account_id);
private:
- AccountId();
AccountId(const std::string& id,
const std::string& user_email,
const AccountType& account_type);
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client.cc ('k') | components/signin/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698