Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / ui / webui / options / supervised_user_learn_more_handler.cc
blob5f757360881b4c80f5a174b3ece94e412cd6f16f
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
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/webui/options/supervised_user_learn_more_handler.h"
7 #include "base/values.h"
8 #include "chrome/grit/generated_resources.h"
10 namespace options {
12 SupervisedUserLearnMoreHandler::SupervisedUserLearnMoreHandler() {
15 SupervisedUserLearnMoreHandler::~SupervisedUserLearnMoreHandler() {
18 void SupervisedUserLearnMoreHandler::GetLocalizedValues(
19 base::DictionaryValue* localized_strings) {
20 DCHECK(localized_strings);
22 static OptionsStringResource resources[] = {
23 { "supervisedUserLearnMoreTitle", IDS_SUPERVISED_USER_LEARN_MORE_TITLE },
24 { "supervisedUserLearnMoreText", IDS_SUPERVISED_USER_LEARN_MORE_TEXT },
25 { "supervisedUserLearnMoreDone",
26 IDS_SUPERVISED_USER_LEARN_MORE_DONE_BUTTON },
29 RegisterStrings(localized_strings, resources, arraysize(resources));
32 } // namespace options