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

Side by Side Diff: chrome/browser/ui/webui/media_router/media_router_localized_strings_provider.h

Issue 1056023003: Add localized string and resource paths for media router WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to apacible@ comments Created 5 years, 8 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVIDER_ H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_LOCALIZED_STRINGS_PROV IDER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVIDER_ H_ 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_LOCALIZED_STRINGS_PROV IDER_H_
7 7
8 namespace content { 8 namespace content {
9 class WebUIDataSource; 9 class WebUIDataSource;
10 } 10 }
11 11
12 namespace settings { 12 namespace media_router {
13 13
14 // Adds the strings needed by the settings page to |html_source|. This function 14 // Adds the strings needed by Media Router to |html_source|. This function
15 // causes |html_source| to expose a strings.js file from its source which 15 // causes |html_source| to expose a strings.js file from its source which
16 // contains a mapping from string's name to its translated value. 16 // contains a mapping from string's name to its translated value.
17 void AddLocalizedStrings(content::WebUIDataSource* html_source); 17 void AddLocalizedStrings(content::WebUIDataSource* html_source);
18 18
19 } // namespace settings 19 } // namespace media_router
20 20
21 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVID ER_H_ 21 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_LOCALIZED_STRINGS_P ROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698