Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / signin / core / browser / account_info.h
blobb8c846456eb90c2bf347015feef4ce2316d9a3ff
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_INFO_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_INFO_H_
8 #include <string>
10 // Information about a specific account.
11 struct AccountInfo {
12 AccountInfo();
13 ~AccountInfo();
15 std::string account_id; // The account ID used by OAuth2TokenService.
16 std::string gaia;
17 std::string email;
18 std::string full_name;
19 std::string given_name;
20 std::string hosted_domain;
21 std::string locale;
22 std::string picture_url;
23 bool is_child_account;
25 bool IsValid() const;
28 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_INFO_H_