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

Side by Side Diff: Source/devtools/front_end/sdk/NetworkManager.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 /** 188 /**
189 * @param {!WebInspector.NetworkRequest} networkRequest 189 * @param {!WebInspector.NetworkRequest} networkRequest
190 * @param {!NetworkAgent.Request} request 190 * @param {!NetworkAgent.Request} request
191 */ 191 */
192 _updateNetworkRequestWithRequest: function(networkRequest, request) 192 _updateNetworkRequestWithRequest: function(networkRequest, request)
193 { 193 {
194 networkRequest.requestMethod = request.method; 194 networkRequest.requestMethod = request.method;
195 networkRequest.setRequestHeaders(this._headersMapToHeadersArray(request. headers)); 195 networkRequest.setRequestHeaders(this._headersMapToHeadersArray(request. headers));
196 networkRequest.requestFormData = request.postData; 196 networkRequest.requestFormData = request.postData;
197 networkRequest.setInitialPriority(request.initialPriority); 197 networkRequest.setInitialPriority(request.initialPriority);
198 networkRequest.mixedContentType = request.mixedContentType;
198 }, 199 },
199 200
200 /** 201 /**
201 * @param {!WebInspector.NetworkRequest} networkRequest 202 * @param {!WebInspector.NetworkRequest} networkRequest
202 * @param {!NetworkAgent.Response=} response 203 * @param {!NetworkAgent.Response=} response
203 */ 204 */
204 _updateNetworkRequestWithResponse: function(networkRequest, response) 205 _updateNetworkRequestWithResponse: function(networkRequest, response)
205 { 206 {
206 if (response.url && networkRequest.url !== response.url) 207 if (response.url && networkRequest.url !== response.url)
207 networkRequest.url = response.url; 208 networkRequest.url = response.url;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 target.networkAgent().removeBlockedURL(url); 763 target.networkAgent().removeBlockedURL(url);
763 }, 764 },
764 765
765 __proto__: WebInspector.Object.prototype 766 __proto__: WebInspector.Object.prototype
766 } 767 }
767 768
768 /** 769 /**
769 * @type {!WebInspector.MultitargetNetworkManager} 770 * @type {!WebInspector.MultitargetNetworkManager}
770 */ 771 */
771 WebInspector.multitargetNetworkManager; 772 WebInspector.multitargetNetworkManager;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/network/NetworkLogView.js ('k') | Source/devtools/front_end/sdk/NetworkRequest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698