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

Side by Side Diff: content/browser/devtools/protocol_config.json

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Add a comment Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "use_snake_file_names": true, 2 "use_snake_file_names": true,
3 "use_title_case_methods": true, 3 "use_title_case_methods": true,
4 4
5 "protocol": { 5 "protocol": {
6 "package": "content/browser/devtools/protocol", 6 "package": "content/browser/devtools/protocol",
7 "output": "protocol", 7 "output": "protocol",
8 "namespace": ["content", "protocol"], 8 "namespace": ["content", "protocol"],
9 "export_macro": "CONTENT_EXPORT", 9 "export_macro": "CONTENT_EXPORT",
10 "export_header": "content/common/content_export.h", 10 "export_header": "content/common/content_export.h",
(...skipping 19 matching lines...) Expand all
30 { 30 {
31 "domain": "IO", 31 "domain": "IO",
32 "async": ["read"] 32 "async": ["read"]
33 }, 33 },
34 { 34 {
35 "domain": "Memory", 35 "domain": "Memory",
36 "include": ["setPressureNotificationsSuppressed", "simulatePress ureNotification"] 36 "include": ["setPressureNotificationsSuppressed", "simulatePress ureNotification"]
37 }, 37 },
38 { 38 {
39 "domain": "Network", 39 "domain": "Network",
40 "include": ["enable", "disable", "clearBrowserCache", "clearBrow serCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie", "setUse rAgentOverride", "canEmulateNetworkConditions"], 40 "include": ["enable", "disable", "clearBrowserCache", "clearBrow serCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie", "setUse rAgentOverride", "canEmulateNetworkConditions", "enableRequestInterception", "co ntinueInterceptedRequest"],
41 "include_types": ["CookieSameSite", "Cookie", "Response", "Heade rs", "Request", "ResourceTiming", "SecurityDetails", "SignedCertificateTimestamp ", "Initiator", "ResourcePriority", "RequestWillBeSentNotification", "ResponseRe ceivedNotification", "LoadingFinishedNotification", "LoadingFailedNotification", "RequestWillBeSentNotification"], 41 "include_types": ["CookieSameSite", "Cookie", "Response", "Heade rs", "Request", "ResourceTiming", "SecurityDetails", "SignedCertificateTimestamp ", "Initiator", "ResourcePriority", "RequestWillBeSentNotification", "ResponseRe ceivedNotification", "LoadingFinishedNotification", "LoadingFailedNotification", "RequestWillBeSentNotification",
42 "include_events": ["requestWillBeSent", "responseReceived", "loa dingFinished", "loadingFailed"], 42 "ErrorReason", "RequestInterceptedNotification "],
43 "async": ["clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie"] 43 "include_events": ["requestWillBeSent", "responseReceived", "loa dingFinished", "loadingFailed", "requestIntercepted"],
44 "async": ["clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie", "continueInterceptedRequest"]
44 }, 45 },
45 { 46 {
46 "domain": "Page", 47 "domain": "Page",
47 "include": ["enable", "disable", "reload", "navigate", "stopLoad ing", "getNavigationHistory", "navigateToHistoryEntry", "captureScreenshot", 48 "include": ["enable", "disable", "reload", "navigate", "stopLoad ing", "getNavigationHistory", "navigateToHistoryEntry", "captureScreenshot",
48 "startScreencast", "stopScreencast", "screencastFrameAck", " handleJavaScriptDialog", "setColorPickerEnabled", "requestAppBanner", 49 "startScreencast", "stopScreencast", "screencastFrameAck", " handleJavaScriptDialog", "setColorPickerEnabled", "requestAppBanner",
49 "setControlNavigations", "processNavigation", "printToPDF"], 50 "setControlNavigations", "processNavigation", "printToPDF"],
50 "include_events": ["interstitialShown", "interstitialHidden", "n avigationRequested", "screencastVisibilityChanged", "screencastFrame", "colorPic ked"], 51 "include_events": ["interstitialShown", "interstitialHidden", "n avigationRequested", "screencastVisibilityChanged", "screencastFrame", "colorPic ked"],
51 "async": ["captureScreenshot", "printToPDF"] 52 "async": ["captureScreenshot", "printToPDF"]
52 }, 53 },
53 { 54 {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 }, 88 },
88 89
89 "lib": { 90 "lib": {
90 "package": "content/browser/devtools/protocol", 91 "package": "content/browser/devtools/protocol",
91 "output": "protocol", 92 "output": "protocol",
92 "string_header": "content/browser/devtools/protocol_string.h", 93 "string_header": "content/browser/devtools/protocol_string.h",
93 "export_macro": "CONTENT_EXPORT", 94 "export_macro": "CONTENT_EXPORT",
94 "export_header": "content/common/content_export.h" 95 "export_header": "content/common/content_export.h"
95 } 96 }
96 } 97 }
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/network_handler.cc ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698