#include "chrome/browser/ui/webui/local_state/local_state_ui.h"
#include <memory>
#include <string>
#include <vector>
#include "base/functional/bind.h"
#include "base/values.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/url_constants.h"
#include "components/grit/dev_ui_components_resources.h"
#include "components/local_state/local_state_utils.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/web_ui_data_source.h"
#include "content/public/browser/web_ui_message_handler.h"
namespace {
class LocalStateUIHandler : public content::WebUIMessageHandler { … };
void LocalStateUIHandler::RegisterMessages() { … }
void LocalStateUIHandler::HandleRequestJson(const base::Value::List& args) { … }
}
LocalStateUI::LocalStateUI(content::WebUI* web_ui) : … { … }
LocalStateUI::~LocalStateUI() { … }