Chromium Code Reviews| 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 288 */ | 288 */ |
| 289 function ExtensionDescriptor() { | 289 function ExtensionDescriptor() { |
| 290 this.startPage = ""; | 290 this.startPage = ""; |
| 291 this.name = ""; | 291 this.name = ""; |
| 292 } | 292 } |
| 293 | 293 |
| 294 /** | 294 /** |
| 295 * @constructor | 295 * @constructor |
| 296 */ | 296 */ |
| 297 function ExtensionReloadOptions() { | 297 function ExtensionReloadOptions() { |
| 298 // TODO(toyoshim): Check if this ignoreCache shouldn't be changed for | |
| 299 // DevTools protocol. Also, how this prototype is used actually? | |
|
Takashi Toyoshima
2016/04/06 09:36:23
I can not find any caller that uses this function
dgozman
2016/04/06 15:44:19
This is for type checking. It's mentioned in Exten
Takashi Toyoshima
2016/04/08 04:50:55
Thanks!
| |
| 298 this.ignoreCache = false; | 300 this.ignoreCache = false; |
| 299 this.injectedScript = ""; | 301 this.injectedScript = ""; |
| 300 this.userAgent = ""; | 302 this.userAgent = ""; |
| 301 } | 303 } |
| 302 | 304 |
| 303 var Adb = {}; | 305 var Adb = {}; |
| 304 /** @typedef {{id: string, name: string, url: string, adbAttachedForeign: boolea n}} */ | 306 /** @typedef {{id: string, name: string, url: string, adbAttachedForeign: boolea n}} */ |
| 305 Adb.Page; | 307 Adb.Page; |
| 306 /** @typedef {{id: string, adbBrowserChromeVersion: string, compatibleVersion: b oolean, adbBrowserName: string, source: string, adbBrowserVersion: string, pages : !Array<!Adb.Page>}} */ | 308 /** @typedef {{id: string, adbBrowserChromeVersion: string, compatibleVersion: b oolean, adbBrowserName: string, source: string, adbBrowserVersion: string, pages : !Array<!Adb.Page>}} */ |
| 307 Adb.Browser; | 309 Adb.Browser; |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 689 * @extends {ESTree.Node} | 691 * @extends {ESTree.Node} |
| 690 * @constructor | 692 * @constructor |
| 691 */ | 693 */ |
| 692 ESTree.TemplateLiteralNode = function() | 694 ESTree.TemplateLiteralNode = function() |
| 693 { | 695 { |
| 694 /** @type {!Array.<!ESTree.Node>} */ | 696 /** @type {!Array.<!ESTree.Node>} */ |
| 695 this.quasis; | 697 this.quasis; |
| 696 /** @type {!Array.<!ESTree.Node>} */ | 698 /** @type {!Array.<!ESTree.Node>} */ |
| 697 this.expressions; | 699 this.expressions; |
| 698 } | 700 } |
| OLD | NEW |