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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js

Issue 2568503002: devtools: Split Network.getCookies into Network.get{All,}Cookies (Closed)
Patch Set: Rebased Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/inspector_protocol_config.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
index 9554d691646b9aa711e433cacb464ee80e21285c..118b790caf17b8b40b0319b7bd598ef44427c787 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js
@@ -384,10 +384,8 @@ SDK.Cookies.getCookiesAsync = function(callback) {
}
var barrier = new CallbackBarrier();
- for (var target of SDK.targetManager.targets(SDK.Target.Capability.Network)) {
- var global = false;
- target.networkAgent().getCookies(global, barrier.createCallback(mycallback.bind(null, target)));
- }
+ for (var target of SDK.targetManager.targets(SDK.Target.Capability.Network))
+ target.networkAgent().getCookies(barrier.createCallback(mycallback.bind(null, target)));
barrier.callWhenDone(callback.bind(null, allCookies));
};
« no previous file with comments | « third_party/WebKit/Source/core/inspector/inspector_protocol_config.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698