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

Side by Side Diff: chrome/browser/resources/file_manager/common/js/progress_center_common.js

Issue 131403003: Files.app: Show drive sync state in the progress center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload Created 6 years, 11 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * Event of the ProgressCenter class. 8 * Event of the ProgressCenter class.
9 * @enum {string} 9 * @enum {string}
10 * @const 10 * @const
(...skipping 29 matching lines...) Expand all
40 */ 40 */
41 var ProgressItemType = Object.freeze({ 41 var ProgressItemType = Object.freeze({
42 // The item is file copy operation. 42 // The item is file copy operation.
43 COPY: 'copy', 43 COPY: 'copy',
44 // The item is file move operation. 44 // The item is file move operation.
45 MOVE: 'move', 45 MOVE: 'move',
46 // The item is file delete opeartion. 46 // The item is file delete opeartion.
47 DELETE: 'delete', 47 DELETE: 'delete',
48 // The item is file zip operation. 48 // The item is file zip operation.
49 ZIP: 'zip', 49 ZIP: 'zip',
50 // The item is drive sync operaiton.
51 SYNC: 'sync',
50 // The item is general file transfer operation. 52 // The item is general file transfer operation.
51 // This is used for the mixed operation of summarized item. 53 // This is used for the mixed operation of summarized item.
52 TRANSFER: 'transfer' 54 TRANSFER: 'transfer'
53 }); 55 });
54 56
55 /** 57 /**
56 * Item of the progress center. 58 * Item of the progress center.
57 * @constructor 59 * @constructor
58 */ 60 */
59 var ProgressCenterItem = function() { 61 var ProgressCenterItem = function() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 newItem.state = this.state; 175 newItem.state = this.state;
174 newItem.message = this.message; 176 newItem.message = this.message;
175 newItem.progressMax = this.progressMax; 177 newItem.progressMax = this.progressMax;
176 newItem.progressValue = this.progressValue; 178 newItem.progressValue = this.progressValue;
177 newItem.type = this.type; 179 newItem.type = this.type;
178 newItem.single = this.single; 180 newItem.single = this.single;
179 newItem.quiet = this.quiet; 181 newItem.quiet = this.quiet;
180 newItem.cancelCallback = this.cancelCallback; 182 newItem.cancelCallback = this.cancelCallback;
181 return newItem; 183 return newItem;
182 }; 184 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698