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