| OLD | NEW |
| 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 the <code>chrome.image_writer</code> API to write images to | 5 // Use the <code>chrome.image_writer</code> API to write images to |
| 6 // removable media. | 6 // removable media. |
| 7 // | 7 // |
| 8 // See the design doc for a detailed description of this API. | 8 // See the design doc for a detailed description of this API. |
| 9 // https://goo.gl/KzMEFq | 9 // https://goo.gl/KzMEFq |
| 10 [use_movable_types=true] namespace imageWriterPrivate { | 10 namespace imageWriterPrivate { |
| 11 // The different stages of a write call. | 11 // The different stages of a write call. |
| 12 // | 12 // |
| 13 // <dl> | 13 // <dl> |
| 14 // <dt>confirmation</dt> | 14 // <dt>confirmation</dt> |
| 15 // <dd>The process starts by prompting the user for confirmation.</dd> | 15 // <dd>The process starts by prompting the user for confirmation.</dd> |
| 16 // <dt>download</dt> | 16 // <dt>download</dt> |
| 17 // <dd>The image file is being download if a remote image was | 17 // <dd>The image file is being download if a remote image was |
| 18 // requested.</dd> | 18 // requested.</dd> |
| 19 // <dt>verifyDownload</dt> | 19 // <dt>verifyDownload</dt> |
| 20 // <dd>The download is being verified to match the image hash, if | 20 // <dd>The download is being verified to match the image hash, if |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 // Fires when a removable storage device is inserted. | 135 // Fires when a removable storage device is inserted. |
| 136 static void onDeviceInserted(RemovableStorageDevice device); | 136 static void onDeviceInserted(RemovableStorageDevice device); |
| 137 | 137 |
| 138 // Fires when a removable storage device is removed. | 138 // Fires when a removable storage device is removed. |
| 139 static void onDeviceRemoved(RemovableStorageDevice device); | 139 static void onDeviceRemoved(RemovableStorageDevice device); |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 }; | 142 }; |
| 143 | 143 |
| OLD | NEW |