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

Side by Side Diff: Source/devtools/front_end/sdk/NetworkRequest.js

Issue 1320343005: DevTools: add a mixed-content filter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 3 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
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkManager.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 this._initiator = initiator; 53 this._initiator = initiator;
54 this._issueTime = -1; 54 this._issueTime = -1;
55 this._startTime = -1; 55 this._startTime = -1;
56 this._endTime = -1; 56 this._endTime = -1;
57 57
58 this.statusCode = 0; 58 this.statusCode = 0;
59 this.statusText = ""; 59 this.statusText = "";
60 this.requestMethod = ""; 60 this.requestMethod = "";
61 this.requestTime = 0; 61 this.requestTime = 0;
62 this.protocol = ""; 62 this.protocol = "";
63 this.mixedContentType = "";
63 64
64 /** @type {?NetworkAgent.ResourcePriority} */ 65 /** @type {?NetworkAgent.ResourcePriority} */
65 this._initialPriority = null; 66 this._initialPriority = null;
66 67
67 /** @type {!WebInspector.ResourceType} */ 68 /** @type {!WebInspector.ResourceType} */
68 this._resourceType = WebInspector.resourceTypes.Other; 69 this._resourceType = WebInspector.resourceTypes.Other;
69 this._contentEncoded = false; 70 this._contentEncoded = false;
70 this._pendingContentCallbacks = []; 71 this._pendingContentCallbacks = [];
71 /** @type {!Array.<!WebInspector.NetworkRequest.WebSocketFrame>} */ 72 /** @type {!Array.<!WebInspector.NetworkRequest.WebSocketFrame>} */
72 this._frames = []; 73 this._frames = [];
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 this.dispatchEventToListeners(WebInspector.NetworkRequest.Events.EventSo urceMessageAdded, message); 1131 this.dispatchEventToListeners(WebInspector.NetworkRequest.Events.EventSo urceMessageAdded, message);
1131 }, 1132 },
1132 1133
1133 replayXHR: function() 1134 replayXHR: function()
1134 { 1135 {
1135 this.target().networkAgent().replayXHR(this.requestId); 1136 this.target().networkAgent().replayXHR(this.requestId);
1136 }, 1137 },
1137 1138
1138 __proto__: WebInspector.SDKObject.prototype 1139 __proto__: WebInspector.SDKObject.prototype
1139 } 1140 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkManager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698