| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 'text/css': {'stylesheet': true}, | 140 'text/css': {'stylesheet': true}, |
| 141 'text/xsl': {'stylesheet': true}, | 141 'text/xsl': {'stylesheet': true}, |
| 142 'text/vtt': {'texttrack': true}, | 142 'text/vtt': {'texttrack': true}, |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 | 145 |
| 146 /** @typedef {{download: number, upload: number, latency: number, title: string}
} */ | 146 /** @typedef {{download: number, upload: number, latency: number, title: string}
} */ |
| 147 SDK.NetworkManager.Conditions; | 147 SDK.NetworkManager.Conditions; |
| 148 /** @type {!SDK.NetworkManager.Conditions} */ | 148 /** @type {!SDK.NetworkManager.Conditions} */ |
| 149 SDK.NetworkManager.NoThrottlingConditions = { | 149 SDK.NetworkManager.NoThrottlingConditions = { |
| 150 title: Common.UIString('No network throttling'), | 150 title: Common.UIString('No throttling'), |
| 151 download: -1, | 151 download: -1, |
| 152 upload: -1, | 152 upload: -1, |
| 153 latency: 0 | 153 latency: 0 |
| 154 }; | 154 }; |
| 155 /** @type {!SDK.NetworkManager.Conditions} */ | 155 /** @type {!SDK.NetworkManager.Conditions} */ |
| 156 SDK.NetworkManager.OfflineConditions = { | 156 SDK.NetworkManager.OfflineConditions = { |
| 157 title: Common.UIString('Offline'), | 157 title: Common.UIString('Offline'), |
| 158 download: 0, | 158 download: 0, |
| 159 upload: 0, | 159 upload: 0, |
| 160 latency: 0 | 160 latency: 0 |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 SDK.MultitargetNetworkManager.Events = { | 894 SDK.MultitargetNetworkManager.Events = { |
| 895 ConditionsChanged: Symbol('ConditionsChanged'), | 895 ConditionsChanged: Symbol('ConditionsChanged'), |
| 896 UserAgentChanged: Symbol('UserAgentChanged') | 896 UserAgentChanged: Symbol('UserAgentChanged') |
| 897 }; | 897 }; |
| 898 | 898 |
| 899 | 899 |
| 900 /** | 900 /** |
| 901 * @type {!SDK.MultitargetNetworkManager} | 901 * @type {!SDK.MultitargetNetworkManager} |
| 902 */ | 902 */ |
| 903 SDK.multitargetNetworkManager; | 903 SDK.multitargetNetworkManager; |
| OLD | NEW |