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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_LOCALIZED_STRINGS_PROVIDER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_LOCALIZED_STRINGS_PROVIDER_H_
7 
8 class Profile;
9 
10 namespace content {
11 class WebUIDataSource;
12 class WebContents;
13 }
14 
15 namespace settings {
16 
17 // Adds the strings needed by the browser settings page to |html_source|
18 // This function causes |html_source| to expose a strings.js file from its
19 // source which contains a mapping from string's name to its translated value.
20 void AddLocalizedStrings(content::WebUIDataSource* html_source,
21                          Profile* profile,
22                          content::WebContents* web_contents);
23 
24 }  // namespace settings
25 
26 #endif  // CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_LOCALIZED_STRINGS_PROVIDER_H_
27