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

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

Issue 684143003: Make chrome/browser/ui/webui not depend on ash when using Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash43_kiosk_mode
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/chromeos/internet_options_handler_stri ngs.h" 5 #include "chrome/browser/ui/webui/options/chromeos/internet_options_handler_stri ngs.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/grit/generated_resources.h" 9 #include "chrome/grit/generated_resources.h"
10 #include "grit/ash_strings.h"
11 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
12 11
13 namespace chromeos { 12 namespace chromeos {
14 namespace internet_options_strings { 13 namespace internet_options_strings {
15 14
16 namespace { 15 namespace {
17 16
18 struct StringResource { 17 struct StringResource {
19 const char* name; 18 const char* name;
20 int id; 19 int id;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 void RegisterLocalizedStrings(base::DictionaryValue* localized_strings) { 182 void RegisterLocalizedStrings(base::DictionaryValue* localized_strings) {
184 for (size_t i = 0; i < kStringResourcesLength; ++i) { 183 for (size_t i = 0; i < kStringResourcesLength; ++i) {
185 localized_strings->SetString( 184 localized_strings->SetString(
186 kStringResources[i].name, 185 kStringResources[i].name,
187 l10n_util::GetStringUTF16(kStringResources[i].id)); 186 l10n_util::GetStringUTF16(kStringResources[i].id));
188 } 187 }
189 } 188 }
190 189
191 } // namespace internet_options_strings 190 } // namespace internet_options_strings
192 } // namespace chromeos 191 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698