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

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

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Fix Created 3 years, 7 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": ["allowRequest", "blockRequest", "clearBrowserCache", "clearBrowserCookies", "disable", "enable", "enableFetchInterception", "getCook ies", "getAllCookies", "deleteCookie", "mockResponse", "modifyRequest", "setCook ie", "setUserAgentOverride", "canEmulateNetworkConditions"],
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", "ErrorReason", "Re sponse", "Headers", "Request", "ResourceTiming", "SecurityDetails", "SignedCerti ficateTimestamp", "Initiator", "ResourcePriority", "InterceptedRedirectNotificat ion", "InterceptedRequestNotification", "RequestWillBeSentNotification", "Respon seReceivedNotification", "LoadingFinishedNotification", "LoadingFailedNotificati on", "RequestWillBeSentNotification"],
42 "include_events": ["requestWillBeSent", "responseReceived", "loa dingFinished", "loadingFailed"], 42 "include_events": ["interceptedRedirect", "interceptedRequest", "requestWillBeSent", "responseReceived", "loadingFinished", "loadingFailed"],
43 "async": ["clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "setCookie"] 43 "async": ["allowRequest", "blockRequest", "clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookie", "mockResponse", "modifyRequest", "setCookie"]
44 }, 44 },
45 { 45 {
46 "domain": "Page", 46 "domain": "Page",
47 "include": ["enable", "disable", "reload", "navigate", "stopLoad ing", "getNavigationHistory", "navigateToHistoryEntry", "captureScreenshot", 47 "include": ["enable", "disable", "reload", "navigate", "stopLoad ing", "getNavigationHistory", "navigateToHistoryEntry", "captureScreenshot",
48 "startScreencast", "stopScreencast", "screencastFrameAck", " handleJavaScriptDialog", "setColorPickerEnabled", "requestAppBanner", 48 "startScreencast", "stopScreencast", "screencastFrameAck", " handleJavaScriptDialog", "setColorPickerEnabled", "requestAppBanner",
49 "setControlNavigations", "processNavigation", "printToPDF"], 49 "setControlNavigations", "processNavigation", "printToPDF"],
50 "include_events": ["interstitialShown", "interstitialHidden", "n avigationRequested", "screencastVisibilityChanged", "screencastFrame", "colorPic ked"], 50 "include_events": ["interstitialShown", "interstitialHidden", "n avigationRequested", "screencastVisibilityChanged", "screencastFrame", "colorPic ked"],
51 "async": ["captureScreenshot", "printToPDF"] 51 "async": ["captureScreenshot", "printToPDF"]
52 }, 52 },
53 { 53 {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 }, 87 },
88 88
89 "lib": { 89 "lib": {
90 "package": "content/browser/devtools/protocol", 90 "package": "content/browser/devtools/protocol",
91 "output": "protocol", 91 "output": "protocol",
92 "string_header": "content/browser/devtools/protocol_string.h", 92 "string_header": "content/browser/devtools/protocol_string.h",
93 "export_macro": "CONTENT_EXPORT", 93 "export_macro": "CONTENT_EXPORT",
94 "export_header": "content/common/content_export.h" 94 "export_header": "content/common/content_export.h"
95 } 95 }
96 } 96 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698