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 #ifndef CHROME_BROWSER_EXTENSIONS_SANDBOXED_UNPACKER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SANDBOXED_UNPACKER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SANDBOXED_UNPACKER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SANDBOXED_UNPACKER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ERROR_SAVING_MANIFEST_JSON, | 127 ERROR_SAVING_MANIFEST_JSON, |
128 | 128 |
129 // SandboxedUnpacker::RewriteImageFiles() | 129 // SandboxedUnpacker::RewriteImageFiles() |
130 COULD_NOT_READ_IMAGE_DATA_FROM_DISK, | 130 COULD_NOT_READ_IMAGE_DATA_FROM_DISK, |
131 DECODED_IMAGES_DO_NOT_MATCH_THE_MANIFEST, | 131 DECODED_IMAGES_DO_NOT_MATCH_THE_MANIFEST, |
132 INVALID_PATH_FOR_BROWSER_IMAGE, | 132 INVALID_PATH_FOR_BROWSER_IMAGE, |
133 ERROR_REMOVING_OLD_IMAGE_FILE, | 133 ERROR_REMOVING_OLD_IMAGE_FILE, |
134 INVALID_PATH_FOR_BITMAP_IMAGE, | 134 INVALID_PATH_FOR_BITMAP_IMAGE, |
135 ERROR_RE_ENCODING_THEME_IMAGE, | 135 ERROR_RE_ENCODING_THEME_IMAGE, |
136 ERROR_SAVING_THEME_IMAGE, | 136 ERROR_SAVING_THEME_IMAGE, |
| 137 ABORTED_DUE_TO_SHUTDOWN, |
137 | 138 |
138 // SandboxedUnpacker::RewriteCatalogFiles() | 139 // SandboxedUnpacker::RewriteCatalogFiles() |
139 COULD_NOT_READ_CATALOG_DATA_FROM_DISK, | 140 COULD_NOT_READ_CATALOG_DATA_FROM_DISK, |
140 INVALID_CATALOG_DATA, | 141 INVALID_CATALOG_DATA, |
141 INVALID_PATH_FOR_CATALOG, | 142 INVALID_PATH_FOR_CATALOG, |
142 ERROR_SERIALIZING_CATALOG, | 143 ERROR_SERIALIZING_CATALOG, |
143 ERROR_SAVING_CATALOG, | 144 ERROR_SAVING_CATALOG, |
144 | 145 |
145 NUM_FAILURE_REASONS | 146 NUM_FAILURE_REASONS |
146 }; | 147 }; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 // when calling Extenion::Create() by the crx installer. | 234 // when calling Extenion::Create() by the crx installer. |
234 int creation_flags_; | 235 int creation_flags_; |
235 | 236 |
236 // Sequenced task runner where file I/O operations will be performed at. | 237 // Sequenced task runner where file I/O operations will be performed at. |
237 scoped_refptr<base::SequencedTaskRunner> unpacker_io_task_runner_; | 238 scoped_refptr<base::SequencedTaskRunner> unpacker_io_task_runner_; |
238 }; | 239 }; |
239 | 240 |
240 } // namespace extensions | 241 } // namespace extensions |
241 | 242 |
242 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_UNPACKER_H_ | 243 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_UNPACKER_H_ |
OLD | NEW |