-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
-#include "base/macros.h"
+#include "base/values.h"
#include "components/login/login_export.h"
-namespace base {
-class DictionaryValue;
-}
-
namespace login {
// Class that collects Localized Values for translation.
class LOGIN_EXPORT LocalizedValuesBuilder {
public:
- explicit LocalizedValuesBuilder(base::DictionaryValue* dict);
- explicit LocalizedValuesBuilder(const std::string& prefix,
- base::DictionaryValue* dict);
+ explicit LocalizedValuesBuilder(base::Value::Dict* dict);
// Method to declare localized value. |key| is the i18n key used in html.
// |message| is text of the message.
std::string prefix_;
// Not owned.
- base::DictionaryValue* dict_;
+ base::Value::Dict* dict_;
};
} // namespace login