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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/sample_config.json

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/sample_config.json
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json b/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
index f21398d199b53a337496150a2cb118aa43ffecd4..82d7845da3cbcd18b1c27a8a646d52c60b51cdc8 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
+++ b/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
@@ -3,7 +3,9 @@
"path": "./relative/path/protocol/sample_protocol.json",
"package": "include/generated/files/like/this",
"output": "place/generated/files/here",
- "namespace": ["sample_project", "protocol"]
+ "namespace": ["sample_project", "protocol"],
+ "export_macro": "LIB_EXPORT",
+ "export_header": "lib/lib_export.h"
},
"exported": {
@@ -12,12 +14,15 @@
"string_header": "include/exported/string.h",
"string_in": "String",
"string_out": "String",
- "to_string_out": "toString(%s)"
+ "to_string_out": "toString(%s)",
+ "export_macro": "LIB_EXPORT",
+ "export_header": "lib/lib_export.h"
},
"imported": {
"path": "../relative/path/imported_protocol.json",
- "package": "include/imported/files/like/this",
+ "package": "either/include/imported/files/from/here",
+ "header": "or/include/them/all/together/like/this/imported_protocol.h",
"to_imported_string": "toImportedString(%s)",
"from_imported_string": "fromImportedString(%s)",
"namespace": ["imported_project", "protocol"]
@@ -27,11 +32,8 @@
"package": "include/lib/files/like/this",
"output": "place/generated/lib/files/here",
"string_header": "string/implementation.h",
- "platform_header": "platform/implementation.h"
- },
-
- "class_export": {
- "macro": "LIB_EXPORT",
- "header": "lib/lib_export.h"
+ "platform_header": "platform/implementation.h",
+ "export_macro": "LIB_EXPORT",
+ "export_header": "lib/lib_export.h"
}
}

Powered by Google App Engine
This is Rietveld 408576698