| OLD | NEW |
| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 /** | 135 /** |
| 136 * @param {!WebInspector.Event} event | 136 * @param {!WebInspector.Event} event |
| 137 */ | 137 */ |
| 138 _cacheDisabledSettingChanged: function(event) | 138 _cacheDisabledSettingChanged: function(event) |
| 139 { | 139 { |
| 140 var enabled = /** @type {boolean} */ (event.data); | 140 var enabled = /** @type {boolean} */ (event.data); |
| 141 this._networkAgent.setCacheDisabled(enabled); | 141 this._networkAgent.setCacheDisabled(enabled); |
| 142 }, | 142 }, |
| 143 | 143 |
| 144 /** |
| 145 * @override |
| 146 */ |
| 144 dispose: function() | 147 dispose: function() |
| 145 { | 148 { |
| 146 WebInspector.moduleSetting("cacheDisabled").removeChangeListener(this._c
acheDisabledSettingChanged, this); | 149 WebInspector.moduleSetting("cacheDisabled").removeChangeListener(this._c
acheDisabledSettingChanged, this); |
| 147 }, | 150 }, |
| 148 | 151 |
| 149 _bypassServiceWorkerChanged: function() | 152 _bypassServiceWorkerChanged: function() |
| 150 { | 153 { |
| 151 this._networkAgent.setBypassServiceWorker(this._bypassServiceWorkerSetti
ng.get()); | 154 this._networkAgent.setBypassServiceWorker(this._bypassServiceWorkerSetti
ng.get()); |
| 152 }, | 155 }, |
| 153 | 156 |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 WebInspector.ResourceLoader.load(url, headers, callback); | 925 WebInspector.ResourceLoader.load(url, headers, callback); |
| 923 }, | 926 }, |
| 924 | 927 |
| 925 __proto__: WebInspector.Object.prototype | 928 __proto__: WebInspector.Object.prototype |
| 926 }; | 929 }; |
| 927 | 930 |
| 928 /** | 931 /** |
| 929 * @type {!WebInspector.MultitargetNetworkManager} | 932 * @type {!WebInspector.MultitargetNetworkManager} |
| 930 */ | 933 */ |
| 931 WebInspector.multitargetNetworkManager; | 934 WebInspector.multitargetNetworkManager; |
| OLD | NEW |