#ifndef CHROME_BROWSER_UI_WEBUI_COMPONENTS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_COMPONENTS_UI_H_
#include "content/public/browser/web_ui_controller.h"
#include "ui/base/layout.h"
namespace base {
class RefCountedMemory;
}
namespace user_prefs {
class PrefRegistrySyncable;
}
class ComponentsUI : public content::WebUIController {
public:
explicit ComponentsUI(content::WebUI* web_ui);
static void OnDemandUpdate(const std::string& component_id);
static base::RefCountedMemory* GetFaviconResourceBytes(
ui::ScaleFactor scale_factor);
private:
DISALLOW_COPY_AND_ASSIGN(ComponentsUI);
};
#endif