| OLD | NEW |
| 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
_ |
| OLD | NEW |