| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * Handler of the background page for the drive sync events. |
| 7 * @constructor |
| 8 * @extends {cr.EventTarget} |
| 9 * @struct |
| 10 */ |
| 11 function DriveSyncHandler() {} |
| 12 |
| 13 DriveSyncHandler.prototype = /** @struct */ { |
| 14 /** |
| 15 * @return {boolean} Whether the handler is having syncing items or not. |
| 16 */ |
| 17 get syncing() {} |
| 18 }; |
| 19 |
| 20 /** |
| 21 * Returns whether the drive sync is currently suppressed or not. |
| 22 * @return {boolean} |
| 23 */ |
| 24 DriveSyncHandler.prototype.isSyncSuppressed = function() {}; |
| 25 |
| 26 /** |
| 27 * Shows the notification saying that the drive sync is disabled on cellular |
| 28 * network. |
| 29 */ |
| 30 DriveSyncHandler.prototype.showDisabledMobileSyncNotification = function() {}; |
| OLD | NEW |