| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/webui/options/chromeos/language_options_util.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/language_options_util.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 namespace options { | 8 namespace options { |
| 9 | 9 |
| 10 // See comments in .h. | 10 // See comments in .h. |
| 11 Value* CreateValue(const char* in_value) { | 11 base::Value* CreateValue(const char* in_value) { |
| 12 return Value::CreateStringValue(in_value); | 12 return new base::StringValue(in_value); |
| 13 } | 13 } |
| 14 | 14 |
| 15 Value* CreateValue(int in_value) { | 15 base::Value* CreateValue(int in_value) { |
| 16 return Value::CreateIntegerValue(in_value); | 16 return new base::FundamentalValue(in_value); |
| 17 } | 17 } |
| 18 | 18 |
| 19 } // namespace options | 19 } // namespace options |
| 20 } // namespace chromeos | 20 } // namespace chromeos |
| OLD | NEW |