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

Side by Side Diff: chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h

Issue 1369403006: Add cr-policy-network-indicator and add to internet settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate policy indicator strings Created 5 years, 2 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_MEDIA_ROUTER_MEDIA_ROUTER_LOCALIZED_STRINGS_PROV IDER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_POLICY_INDICATOR_LOCALIZED_STRINGS_PROVIDER_H_
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_LOCALIZED_STRINGS_PROV IDER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_POLICY_INDICATOR_LOCALIZED_STRINGS_PROVIDER_H_
7 7
8 namespace content { 8 namespace content {
9 class WebUIDataSource; 9 class WebUIDataSource;
10 } 10 }
11 11
12 namespace media_router { 12 namespace policy_indicator {
13 13
14 // Adds the strings needed by Media Router to |html_source|. This function 14 // Adds the strings needed for policy indicators 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 media_router 19 } // namespace policy_indicator
20 20
21 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_LOCALIZED_STRINGS_P ROVIDER_H_ 21 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_INDICATOR_LOCALIZED_STRINGS_PROVIDER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698