| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 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. | |
| 4 | |
| 5 #include "chrome/browser/ui/webui/options/managed_user_learn_more_handler.h" | |
| 6 | |
| 7 #include "base/values.h" | |
| 8 #include "grit/generated_resources.h" | |
| 9 | |
| 10 namespace options { | |
| 11 | |
| 12 ManagedUserLearnMoreHandler::ManagedUserLearnMoreHandler() { | |
| 13 } | |
| 14 | |
| 15 ManagedUserLearnMoreHandler::~ManagedUserLearnMoreHandler() { | |
| 16 } | |
| 17 | |
| 18 void ManagedUserLearnMoreHandler::GetLocalizedValues( | |
| 19 base::DictionaryValue* localized_strings) { | |
| 20 DCHECK(localized_strings); | |
| 21 | |
| 22 static OptionsStringResource resources[] = { | |
| 23 { "managedUserLearnMoreTitle", IDS_SUPERVISED_USER_LEARN_MORE_TITLE }, | |
| 24 { "managedUserLearnMoreText", IDS_SUPERVISED_USER_LEARN_MORE_TEXT }, | |
| 25 { "managedUserLearnMoreDone", IDS_SUPERVISED_USER_LEARN_MORE_DONE_BUTTON }, | |
| 26 }; | |
| 27 | |
| 28 RegisterStrings(localized_strings, resources, arraysize(resources)); | |
| 29 } | |
| 30 | |
| 31 } // namespace options | |
| OLD | NEW |