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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2691433006: [Devtools] Persist network request blocking (Closed)
Patch Set: Merge branch 'ADD_ENABLE_DISABLE_REQUEST_BLOCKINg' into BLOCK_REQUESTS_IN_NETWORK_PERSISTANT Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index 3b258f7510b06bdd6c6f8a254f9c2d25c2ad76e8..893bd7f33ff869d5f5f6b5a0dbf70058a52c98c5 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -755,7 +755,7 @@ Main.NetworkPanelIndicator = class {
return;
var manager = SDK.multitargetNetworkManager;
manager.addEventListener(SDK.MultitargetNetworkManager.Events.ConditionsChanged, updateVisibility);
- var blockedURLsSetting = Common.moduleSetting('blockedURLs');
+ var blockedURLsSetting = Common.moduleSetting('networkBlockedURLs');
pfeldman 2017/02/11 02:45:05 Move into Network module, also map it to the new e
allada 2017/02/11 05:02:04 Done.
blockedURLsSetting.addChangeListener(updateVisibility);
SDK.multitargetNetworkManager.on(
SDK.MultitargetNetworkManager.RequestBlockingEnabledChangedEvent, updateVisibility);

Powered by Google App Engine
This is Rietveld 408576698