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

Side by Side Diff: Source/devtools/front_end/sdk/IndexedDBModel.js

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 */ 427 */
428 equals: function(databaseId) 428 equals: function(databaseId)
429 { 429 {
430 return this.name === databaseId.name && this.securityOrigin === database Id.securityOrigin; 430 return this.name === databaseId.name && this.securityOrigin === database Id.securityOrigin;
431 }, 431 },
432 } 432 }
433 /** 433 /**
434 * @constructor 434 * @constructor
435 * @param {!WebInspector.IndexedDBModel.DatabaseId} databaseId 435 * @param {!WebInspector.IndexedDBModel.DatabaseId} databaseId
436 * @param {string} version 436 * @param {string} version
437 * @param {number} intVersion
437 */ 438 */
438 WebInspector.IndexedDBModel.Database = function(databaseId, version, intVersion) 439 WebInspector.IndexedDBModel.Database = function(databaseId, version, intVersion)
439 { 440 {
440 this.databaseId = databaseId; 441 this.databaseId = databaseId;
441 this.version = version; 442 this.version = version;
442 this.intVersion = intVersion; 443 this.intVersion = intVersion;
443 this.objectStores = {}; 444 this.objectStores = {};
444 } 445 }
445 446
446 /** 447 /**
447 * @constructor 448 * @constructor
448 * @param {string} name 449 * @param {string} name
449 * @param {*} keyPath 450 * @param {*} keyPath
451 * @param {boolean} autoIncrement
450 */ 452 */
451 WebInspector.IndexedDBModel.ObjectStore = function(name, keyPath, autoIncrement) 453 WebInspector.IndexedDBModel.ObjectStore = function(name, keyPath, autoIncrement)
452 { 454 {
453 this.name = name; 455 this.name = name;
454 this.keyPath = keyPath; 456 this.keyPath = keyPath;
455 this.autoIncrement = autoIncrement; 457 this.autoIncrement = autoIncrement;
456 this.indexes = {}; 458 this.indexes = {};
457 } 459 }
458 460
459 WebInspector.IndexedDBModel.ObjectStore.prototype = { 461 WebInspector.IndexedDBModel.ObjectStore.prototype = {
460 /** 462 /**
461 * @type {string} 463 * @type {string}
462 */ 464 */
463 get keyPathString() 465 get keyPathString()
464 { 466 {
465 return WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(this.keyP ath); 467 return WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(this.keyP ath);
466 } 468 }
467 } 469 }
468 470
469 /** 471 /**
470 * @constructor 472 * @constructor
471 * @param {string} name 473 * @param {string} name
472 * @param {*} keyPath 474 * @param {*} keyPath
475 * @param {boolean} unique
476 * @param {boolean} multiEntry
473 */ 477 */
474 WebInspector.IndexedDBModel.Index = function(name, keyPath, unique, multiEntry) 478 WebInspector.IndexedDBModel.Index = function(name, keyPath, unique, multiEntry)
475 { 479 {
476 this.name = name; 480 this.name = name;
477 this.keyPath = keyPath; 481 this.keyPath = keyPath;
478 this.unique = unique; 482 this.unique = unique;
479 this.multiEntry = multiEntry; 483 this.multiEntry = multiEntry;
480 } 484 }
481 485
482 WebInspector.IndexedDBModel.Index.prototype = { 486 WebInspector.IndexedDBModel.Index.prototype = {
483 /** 487 /**
484 * @type {string} 488 * @type {string}
485 */ 489 */
486 get keyPathString() 490 get keyPathString()
487 { 491 {
488 return WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(this.keyP ath); 492 return WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(this.keyP ath);
489 } 493 }
490 } 494 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/FileUtils.js ('k') | Source/devtools/front_end/sdk/InspectorBackend.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698