| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 dispose: function() | 144 dispose: function() |
| 145 { | 145 { |
| 146 WebInspector.moduleSetting("cacheDisabled").removeChangeListener(this._c
acheDisabledSettingChanged, this); | 146 WebInspector.moduleSetting("cacheDisabled").removeChangeListener(this._c
acheDisabledSettingChanged, this); |
| 147 }, | 147 }, |
| 148 | 148 |
| 149 /** | |
| 150 * @return {!WebInspector.Setting} | |
| 151 */ | |
| 152 bypassServiceWorkerSetting: function() | |
| 153 { | |
| 154 return this._bypassServiceWorkerSetting; | |
| 155 }, | |
| 156 | |
| 157 _bypassServiceWorkerChanged: function() | 149 _bypassServiceWorkerChanged: function() |
| 158 { | 150 { |
| 159 this._networkAgent.setBypassServiceWorker(this._bypassServiceWorkerSetti
ng.get()); | 151 this._networkAgent.setBypassServiceWorker(this._bypassServiceWorkerSetti
ng.get()); |
| 160 }, | 152 }, |
| 161 | 153 |
| 162 __proto__: WebInspector.SDKModel.prototype | 154 __proto__: WebInspector.SDKModel.prototype |
| 163 } | 155 } |
| 164 | 156 |
| 165 /** | 157 /** |
| 166 * @constructor | 158 * @constructor |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 WebInspector.ResourceLoader.load(url, headers, callback); | 919 WebInspector.ResourceLoader.load(url, headers, callback); |
| 928 }, | 920 }, |
| 929 | 921 |
| 930 __proto__: WebInspector.Object.prototype | 922 __proto__: WebInspector.Object.prototype |
| 931 } | 923 } |
| 932 | 924 |
| 933 /** | 925 /** |
| 934 * @type {!WebInspector.MultitargetNetworkManager} | 926 * @type {!WebInspector.MultitargetNetworkManager} |
| 935 */ | 927 */ |
| 936 WebInspector.multitargetNetworkManager; | 928 WebInspector.multitargetNetworkManager; |
| OLD | NEW |