Home | History | Annotate | Download | only in chromeos
      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 
      8 #include "base/values.h"
      9 #include "base/compiler_specific.h"
     10 
     11 class Profile;
     12 
     13 namespace content {
     14 class WebUIDataSource;
     15 }
     16 
     17 namespace chromeos {
     18 
     19 /**
     20  * Fills given dictionary with account status data (whether current user is
     21  * owner/guest, id of the owner).
     22  * @param localized_strings non-null dictionary that will be filled.
     23  */
     24 void AddAccountUITweaksLocalizedValues(
     25     base::DictionaryValue* localized_strings, Profile* profile);
     26 
     27 /**
     28  * Fills given data source with account status data (whether current user is
     29  * owner/guest, id of the owner).
     30  * @param source non-null ui data source which localized values dictionary will
     31  * be filled.
     32  */
     33 void AddAccountUITweaksLocalizedValues(content::WebUIDataSource* source,
     34                                        Profile* profile);
     35 
     36 }  // namespace chromeos
     37 
     38 #endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
     39