OLD | NEW |
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 #include "components/login/base_screen_handler_utils.h" | 5 #include "components/login/base_screen_handler_utils.h" |
6 | 6 |
7 #include "components/signin/core/account_id/account_id.h" | 7 #include "components/signin/core/account_id/account_id.h" |
8 | 8 |
9 namespace login { | 9 namespace login { |
10 | 10 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 } | 77 } |
78 | 78 |
79 base::Value MakeValue(int v) { | 79 base::Value MakeValue(int v) { |
80 return base::Value(v); | 80 return base::Value(v); |
81 } | 81 } |
82 | 82 |
83 base::Value MakeValue(double v) { | 83 base::Value MakeValue(double v) { |
84 return base::Value(v); | 84 return base::Value(v); |
85 } | 85 } |
86 | 86 |
87 base::StringValue MakeValue(const std::string& v) { | 87 base::Value MakeValue(const std::string& v) { |
88 return base::StringValue(v); | 88 return base::Value(v); |
89 } | 89 } |
90 | 90 |
91 base::StringValue MakeValue(const base::string16& v) { | 91 base::Value MakeValue(const base::string16& v) { |
92 return base::StringValue(v); | 92 return base::Value(v); |
93 } | 93 } |
94 | 94 |
95 base::StringValue MakeValue(const AccountId& v) { | 95 base::Value MakeValue(const AccountId& v) { |
96 return base::StringValue(v.Serialize()); | 96 return base::Value(v.Serialize()); |
97 } | 97 } |
98 | 98 |
99 ParsedValueContainer<AccountId>::ParsedValueContainer() { | 99 ParsedValueContainer<AccountId>::ParsedValueContainer() { |
100 } | 100 } |
101 | 101 |
102 } // namespace login | 102 } // namespace login |
OLD | NEW |