REVIEW: Inject devtools extensions API via browser

Behavior was changed in https://crbug.com/706169
This commit is contained in:
deepak1556 2017-10-30 17:06:13 +05:30 committed by Cheng Zhao
parent 531472bad4
commit 7a9892f151
4 changed files with 59 additions and 10 deletions

View file

@ -78,6 +78,8 @@ class DevToolsEmbedderMessageDispatcher {
const std::string& value) = 0;
virtual void RemovePreference(const std::string& name) = 0;
virtual void ClearPreferences() = 0;
virtual void RegisterExtensionsAPI(const std::string& origin,
const std::string& script) = 0;
};
using DispatchCallback = Delegate::DispatchCallback;