// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_API_MESSAGING_SEND_MESSAGE_TESTER_H_ #define EXTENSIONS_RENDERER_API_MESSAGING_SEND_MESSAGE_TESTER_H_ #include <string> #include "base/memory/raw_ptr.h" #include "v8/include/v8-forward.h" namespace extensions { class ScriptContext; class TestIPCMessageSender; struct MessageTarget; // A helper class for testing the sendMessage, sendRequest, and connect API // calls, since these are used across three different API namespaces // (chrome.runtime, chrome.tabs, and chrome.extension). class SendMessageTester { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_API_MESSAGING_SEND_MESSAGE_TESTER_H_