#include "chrome/browser/ui/webui/prefs_internals_source.h"
#include <string>
#include "base/json/json_writer.h"
#include "base/memory/ref_counted_memory.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/url_constants.h"
#include "components/local_state/local_state_utils.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_thread.h"
PrefsInternalsSource::PrefsInternalsSource(Profile* profile)
: … { … }
PrefsInternalsSource::~PrefsInternalsSource() = default;
std::string PrefsInternalsSource::GetSource() { … }
std::string PrefsInternalsSource::GetMimeType(const GURL& url) { … }
void PrefsInternalsSource::StartDataRequest(
const GURL& url,
const content::WebContents::Getter& wc_getter,
content::URLDataSource::GotDataCallback callback) { … }