| Index: chrome/browser/ui/webui/options/options_managed_banner_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/options_managed_banner_handler.h b/chrome/browser/ui/webui/options/options_managed_banner_handler.h
|
| index 95a8d2a20f4d6f167d69c1e9d788669b1774ebe6..202d82d9f5c6fcba7905a6847a66b6f8e29078c0 100644
|
| --- a/chrome/browser/ui/webui/options/options_managed_banner_handler.h
|
| +++ b/chrome/browser/ui/webui/options/options_managed_banner_handler.h
|
| @@ -18,9 +18,9 @@ class WebUI;
|
| // that are under administator control.
|
| class OptionsManagedBannerHandler : public policy::ManagedPrefsBannerBase {
|
| public:
|
| - OptionsManagedBannerHandler(WebUI* web_ui,
|
| - const string16& page_name,
|
| - OptionsPage page);
|
| + static OptionsManagedBannerHandler* Create(WebUI* web_ui,
|
| + const string16& page_name,
|
| + OptionsPage page);
|
| virtual ~OptionsManagedBannerHandler();
|
|
|
| protected:
|
| @@ -28,6 +28,10 @@ class OptionsManagedBannerHandler : public policy::ManagedPrefsBannerBase {
|
| virtual void OnUpdateVisibility();
|
|
|
| private:
|
| + OptionsManagedBannerHandler(WebUI* web_ui,
|
| + const string16& page_name,
|
| + OptionsPage page);
|
| +
|
| // Set the managed options banner to be visible or invisible.
|
| void SetupBannerVisibility();
|
|
|
|
|