Chromium Code Reviews| Index: chrome/browser/ui/webui/flags_ui.h |
| diff --git a/chrome/browser/ui/webui/flags_ui.h b/chrome/browser/ui/webui/flags_ui.h |
| index 0cac343829d09634ce8296c13989aced7401cc26..9accef1384e083da16acdbb5e04fb9651ed1fde4 100644 |
| --- a/chrome/browser/ui/webui/flags_ui.h |
| +++ b/chrome/browser/ui/webui/flags_ui.h |
| @@ -5,10 +5,17 @@ |
| #ifndef CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ |
| #define CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ |
| +#include "base/memory/weak_ptr.h" |
| #include "content/public/browser/web_ui_controller.h" |
| #include "ui/base/layout.h" |
| +#ifdef OS_CHROMEOS |
| +#include "chrome/browser/chromeos/settings/device_settings_service.h" |
| +#endif |
| + |
| class PrefRegistrySimple; |
| +class PrefRegistrySyncable; |
| +class Profile; |
| namespace base { |
| class RefCountedMemory; |
| @@ -17,12 +24,24 @@ class RefCountedMemory; |
| class FlagsUI : public content::WebUIController { |
| public: |
| explicit FlagsUI(content::WebUI* web_ui); |
| + virtual ~FlagsUI(); |
| static base::RefCountedMemory* GetFaviconResourceBytes( |
| ui::ScaleFactor scale_factor); |
| static void RegisterPrefs(PrefRegistrySimple* registry); |
| +#ifdef OS_CHROMEOS |
| + static void RegisterUserPrefs(PrefRegistrySyncable* registry); |
| +#endif |
| private: |
| +#ifdef OS_CHROMEOS |
| + void FinishInitialization( |
|
Nico
2013/03/05 15:11:08
Needs a comment about what this does and why it's
pastarmovj
2013/03/05 15:23:13
Done.
|
| + Profile* profile, |
| + chromeos::DeviceSettingsService::OwnershipStatus status, |
| + bool current_user_is_owner); |
| +#endif |
| + base::WeakPtrFactory<FlagsUI> weak_factory_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(FlagsUI); |
| }; |