// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_JS_INJECTION_BROWSER_WEB_MESSAGE_HOST_FACTORY_H_ #define COMPONENTS_JS_INJECTION_BROWSER_WEB_MESSAGE_HOST_FACTORY_H_ #include <memory> #include <string> namespace js_injection { class WebMessageHost; class WebMessageReplyProxy; // Creates a WebMessageHost in response to a page interacting with the object // registered by way of JsCommunicationHost::AddWebMessageHostFactory(). A // WebMessageHost is created for every page that matches the parameters of // AddWebMessageHostFactory(). class WebMessageHostFactory { … }; } // namespace js_injection #endif // COMPONENTS_JS_INJECTION_BROWSER_WEB_MESSAGE_HOST_FACTORY_H_