| 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_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVIDER_
    H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVIDER_
    H_ | 
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVIDER_
    H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVIDER_
    H_ | 
| 7 | 7 | 
| 8 class Profile; | 8 class Profile; | 
| 9 | 9 | 
| 10 namespace content { | 10 namespace content { | 
| 11 class WebUIDataSource; | 11 class WebUIDataSource; | 
| 12 } | 12 } | 
| 13 | 13 | 
| 14 namespace settings { | 14 namespace settings { | 
| 15 | 15 | 
| 16 #if defined(OS_CHROMEOS) |  | 
| 17 // Strings specific to cr-network elements. Also used by NetworkUI and OobeUI. |  | 
| 18 void AddCrNetworkStrings(content::WebUIDataSource* html_source); |  | 
| 19 #endif  // OS_CHROMEOS |  | 
| 20 |  | 
| 21 // Adds the strings needed by the settings page to |html_source|. This function | 16 // Adds the strings needed by the settings page to |html_source|. This function | 
| 22 // causes |html_source| to expose a strings.js file from its source which | 17 // causes |html_source| to expose a strings.js file from its source which | 
| 23 // contains a mapping from string's name to its translated value. | 18 // contains a mapping from string's name to its translated value. | 
| 24 void AddLocalizedStrings(content::WebUIDataSource* html_source, | 19 void AddLocalizedStrings(content::WebUIDataSource* html_source, | 
| 25                          Profile* profile); | 20                          Profile* profile); | 
| 26 | 21 | 
| 27 }  // namespace settings | 22 }  // namespace settings | 
| 28 | 23 | 
| 29 #endif  // CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVID
    ER_H_ | 24 #endif  // CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_LOCALIZED_STRINGS_PROVID
    ER_H_ | 
| OLD | NEW | 
|---|