Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/ui/webui/options/supervised_user_learn_more_handler.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/browser/ui/webui/options/supervised_user_learn_more_handler.h" 5 #include "chrome/browser/ui/webui/options/supervised_user_learn_more_handler.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "grit/generated_resources.h" 8 #include "chrome/grit/generated_resources.h"
9 9
10 namespace options { 10 namespace options {
11 11
12 SupervisedUserLearnMoreHandler::SupervisedUserLearnMoreHandler() { 12 SupervisedUserLearnMoreHandler::SupervisedUserLearnMoreHandler() {
13 } 13 }
14 14
15 SupervisedUserLearnMoreHandler::~SupervisedUserLearnMoreHandler() { 15 SupervisedUserLearnMoreHandler::~SupervisedUserLearnMoreHandler() {
16 } 16 }
17 17
18 void SupervisedUserLearnMoreHandler::GetLocalizedValues( 18 void SupervisedUserLearnMoreHandler::GetLocalizedValues(
19 base::DictionaryValue* localized_strings) { 19 base::DictionaryValue* localized_strings) {
20 DCHECK(localized_strings); 20 DCHECK(localized_strings);
21 21
22 static OptionsStringResource resources[] = { 22 static OptionsStringResource resources[] = {
23 { "supervisedUserLearnMoreTitle", IDS_SUPERVISED_USER_LEARN_MORE_TITLE }, 23 { "supervisedUserLearnMoreTitle", IDS_SUPERVISED_USER_LEARN_MORE_TITLE },
24 { "supervisedUserLearnMoreText", IDS_SUPERVISED_USER_LEARN_MORE_TEXT }, 24 { "supervisedUserLearnMoreText", IDS_SUPERVISED_USER_LEARN_MORE_TEXT },
25 { "supervisedUserLearnMoreDone", 25 { "supervisedUserLearnMoreDone",
26 IDS_SUPERVISED_USER_LEARN_MORE_DONE_BUTTON }, 26 IDS_SUPERVISED_USER_LEARN_MORE_DONE_BUTTON },
27 }; 27 };
28 28
29 RegisterStrings(localized_strings, resources, arraysize(resources)); 29 RegisterStrings(localized_strings, resources, arraysize(resources));
30 } 30 }
31 31
32 } // namespace options 32 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698