Implement devtools preference interfaces.

This commit is contained in:
Haojian Wu 2015-08-06 13:39:23 +08:00 committed by Cheng Zhao
parent 6171ab8f6b
commit f82ab5f193
4 changed files with 41 additions and 0 deletions

View file

@ -110,6 +110,11 @@ class InspectableWebContentsImpl :
void SendJsonRequest(const DispatchCallback& callback,
const std::string& browser_id,
const std::string& url) override;
void GetPreferences(const DispatchCallback& callback) override;
void SetPreference(const std::string& name,
const std::string& value) override;
void RemovePreference(const std::string& name) override;
void ClearPreferences() override;
// content::DevToolsFrontendHostDelegate:
void HandleMessageFromDevToolsFrontend(const std::string& message) override;