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

Unified Diff: third_party/WebKit/Source/core/inspector/inspector_protocol_config.json

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win compile 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/core/inspector/inspector_protocol_config.json
diff --git a/third_party/WebKit/Source/core/inspector/inspector_protocol_config.json b/third_party/WebKit/Source/core/inspector/inspector_protocol_config.json
index 3d3e6d9b9d5d8f94fc49eeac1741331bb6dc1657..2a5f9096acd72132a6e610ec23f8be537df0b985 100644
--- a/third_party/WebKit/Source/core/inspector/inspector_protocol_config.json
+++ b/third_party/WebKit/Source/core/inspector/inspector_protocol_config.json
@@ -2,20 +2,25 @@
"protocol": {
"path": "browser_protocol.json",
"package": "core/inspector/protocol",
- "output": "inspector/protocol"
+ "output": "inspector/protocol",
+ "namespace": ["blink", "protocol"]
},
"imported": {
"path": "../../platform/v8_inspector/js_protocol.json",
- "package": "platform/v8_inspector/public/protocol"
+ "package": "platform/v8_inspector/public/protocol",
+ "to_imported_string": "toV8InspectorStringView(%s)",
+ "from_imported_string": "toCoreString(%s)",
+ "namespace": ["v8_inspector", "protocol"]
},
- "string": {
- "class_name": "WTF::String"
+ "lib": {
+ "package": "core/inspector/protocol",
+ "output": "inspector/protocol",
+ "string_header": "core/inspector/V8InspectorString.h",
+ "platform_header": "core/inspector/ProtocolPlatform.h"
},
- "lib_package": "platform/inspector_protocol",
-
"class_export": {
"macro": "CORE_EXPORT",
"header": "core/CoreExport.h"

Powered by Google App Engine
This is Rietveld 408576698