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

Side by Side Diff: chrome/browser/ui/webui/chromeos/ui_account_tweaks.h

Issue 144983002: Fixed chrome://settings/accounts availability for MP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed proxy_settings_ui. Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_UI_ACCOUNT_TWEAKS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 10
11 class Profile;
12
11 namespace content { 13 namespace content {
12 class WebUIDataSource; 14 class WebUIDataSource;
13 } 15 }
14 16
15 namespace chromeos { 17 namespace chromeos {
16 18
17 /** 19 /**
18 * Fills given dictionary with account status data (whether current user is 20 * Fills given dictionary with account status data (whether current user is
19 * owner/guest, id of the owner). 21 * owner/guest, id of the owner).
20 * @param localized_strings non-null dictionary that will be filled. 22 * @param localized_strings non-null dictionary that will be filled.
21 */ 23 */
22 void AddAccountUITweaksLocalizedValues( 24 void AddAccountUITweaksLocalizedValues(
23 base::DictionaryValue* localized_strings); 25 base::DictionaryValue* localized_strings, Profile* profile);
24 26
25 /** 27 /**
26 * Fills given data source with account status data (whether current user is 28 * Fills given data source with account status data (whether current user is
27 * owner/guest, id of the owner). 29 * owner/guest, id of the owner).
28 * @param source non-null ui data source which localized values dictionary will 30 * @param source non-null ui data source which localized values dictionary will
29 * be filled. 31 * be filled.
30 */ 32 */
31 void AddAccountUITweaksLocalizedValues(content::WebUIDataSource* source); 33 void AddAccountUITweaksLocalizedValues(content::WebUIDataSource* source,
34 Profile* profile);
32 35
33 } // namespace chromeos 36 } // namespace chromeos
34 37
35 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_ 38 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc ('k') | chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698