Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel.h

Issue 1696513002: DevTools: move protocol-related generators into inspector subfolder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorFrontendChannel.h b/third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel.h
similarity index 89%
rename from third_party/WebKit/Source/core/inspector/InspectorFrontendChannel.h
rename to third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel.h
index 580a12d3e18aa84dbdb4cebae4b7ba239f6d67e8..530d50e006c465e3cd5f8f28b053489fd5e5cb12 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorFrontendChannel.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel.h
@@ -23,22 +23,24 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef InspectorFrontendChannel_h
-#define InspectorFrontendChannel_h
+#ifndef FrontendChannel_h
+#define FrontendChannel_h
#include "platform/JSONValues.h"
#include "wtf/Forward.h"
namespace blink {
+namespace protocol {
-class InspectorFrontendChannel {
+class FrontendChannel {
public:
- virtual ~InspectorFrontendChannel() { }
+ virtual ~FrontendChannel() { }
virtual void sendProtocolResponse(int sessionId, int callId, PassRefPtr<JSONObject> message) = 0;
virtual void sendProtocolNotification(PassRefPtr<JSONObject> message) = 0;
virtual void flush() = 0;
};
+} // namespace protocol
} // namespace blink
-#endif // !defined(InspectorFrontendChannel_h)
+#endif // !defined(FrontendChannel_h)

Powered by Google App Engine
This is Rietveld 408576698