OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/values.h" |
| 10 #include "base/compiler_specific.h" |
| 11 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" |
| 12 |
| 13 namespace chromeos { |
| 14 |
| 15 /** |
| 16 * Fills given dictionary with account status data (whether current user is |
| 17 * owner/guest, id of the owner). |
| 18 * @param localized_strings non-null dictionary that will be filled. |
| 19 */ |
| 20 void AddAccountUITweaksLocalizedValues( |
| 21 base::DictionaryValue* localized_strings); |
| 22 |
| 23 /** |
| 24 * Fills given data source with account status data (whether current user is |
| 25 * owner/guest, id of the owner). |
| 26 * @param source non-null ui data source which localized values dictionary will |
| 27 * be filled. |
| 28 */ |
| 29 void AddAccountUITweaksLocalizedValues(ChromeWebUIDataSource* source); |
| 30 |
| 31 } // namespace chromeos |
| 32 |
| 33 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_ |
OLD | NEW |