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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/templates/Imported_h.template

Issue 2296043004: [DevTools] Various tweaks to inspector_protocol. (Closed)
Patch Set: optional exports 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/templates/Imported_h.template
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/templates/Imported_h.template b/third_party/WebKit/Source/platform/inspector_protocol/templates/Imported_h.template
index afd9ce79e6aab6803aca85206151f0357a2f65d4..c23b8fe87c9f556a4b3e853477c352fe69bcafea 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/templates/Imported_h.template
+++ b/third_party/WebKit/Source/platform/inspector_protocol/templates/Imported_h.template
@@ -8,7 +8,7 @@
#define {{"_".join(config.protocol.namespace)}}_{{domain.domain}}_imported_h
#include "{{config.protocol.package}}/Protocol.h"
-#include "{{config.imported.package}}/{{domain.domain}}.h"
+#include {{format_include(config.imported.header if config.imported.header else "\"%s/%s.h\"" % (config.imported.package, domain.domain))}}
{% for namespace in config.protocol.namespace %}
namespace {{namespace}} {

Powered by Google App Engine
This is Rietveld 408576698