| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * The album. | 6 * The album. |
| 7 * @constructor |
| 7 * @param {PhotoSource} source The parent source. | 8 * @param {PhotoSource} source The parent source. |
| 8 * @param {string} name The album name. | 9 * @param {string} name The album name. |
| 9 * @param {Array.<FileEntry>} entries The entries list. | 10 * @param {Array.<FileEntry>} entries The entries list. |
| 10 */ | 11 */ |
| 11 function Album(source, name) { | 12 function Album(source, name) { |
| 12 this.source_ = source; | 13 this.source_ = source; |
| 13 this.name_ = name; | 14 this.name_ = name; |
| 14 this.entries_ = null; | 15 this.entries_ = null; |
| 15 } | 16 } |
| 16 | 17 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ImportPhotoSource.prototype.getType = function() { | 141 ImportPhotoSource.prototype.getType = function() { |
| 141 return 'import'; | 142 return 'import'; |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 /** | 145 /** |
| 145 * @return {Album} The album. | 146 * @return {Album} The album. |
| 146 */ | 147 */ |
| 147 ImportPhotoSource.prototype.getAlbums = function() { | 148 ImportPhotoSource.prototype.getAlbums = function() { |
| 148 return this.albums_; | 149 return this.albums_; |
| 149 }; | 150 }; |
| OLD | NEW |