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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Platform_h.template

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/Platform_h.template
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Platform_h.template b/third_party/WebKit/Source/platform/inspector_protocol/Platform_h.template
index 41b8ef2140cc14d176163d0b5cb2ee7c3176ffce..80e086d3f27c000154cd5c827288df94f289cc3f 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/Platform_h.template
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Platform_h.template
@@ -2,9 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef protocol_Platform_h
-#define protocol_Platform_h
+#ifndef {{"_".join(config.protocol.namespace)}}_Platform_h
+#define {{"_".join(config.protocol.namespace)}}_Platform_h
+#include "{{config.class_export.header}}"
#include "{{config.lib.platform_header}}"
+#include "{{config.lib.string_header}}"
-#endif // !defined(protocol_Platform_h)
+#include <vector>
+
+#endif // !defined({{"_".join(config.protocol.namespace)}}_Platform_h)

Powered by Google App Engine
This is Rietveld 408576698