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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_ERROR_MESSAGES_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_ERROR_MESSAGES_H_
9 namespace image_writer
{
12 // General operation messages.
13 extern const char kAborted
[];
14 extern const char kNoOperationInProgress
[];
15 extern const char kOperationAlreadyInProgress
[];
16 extern const char kUnsupportedOperation
[];
18 // Device listing errors
19 extern const char kDeviceListError
[];
22 extern const char kInvalidFileEntry
[];
25 extern const char kDownloadCancelled
[];
26 extern const char kDownloadHashError
[];
27 extern const char kDownloadInterrupted
[];
28 extern const char kTempDirError
[];
29 extern const char kTempFileError
[];
30 extern const char kUrlInvalid
[];
33 extern const char kUnzipGenericError
[];
34 extern const char kUnzipInvalidArchive
[];
37 extern const char kDeviceCloseError
[];
38 extern const char kDeviceInvalid
[];
39 extern const char kDeviceHashError
[];
40 extern const char kDeviceOpenError
[];
41 extern const char kDeviceWriteError
[];
42 extern const char kImageCloseError
[];
43 extern const char kImageInvalid
[];
44 extern const char kImageHashError
[];
45 extern const char kImageNotFound
[];
46 extern const char kImageOpenError
[];
47 extern const char kImageReadError
[];
48 extern const char kImageSizeError
[];
49 extern const char kUnmountVolumesError
[];
51 // Verification Errors
52 extern const char kHashReadError
[];
53 extern const char kVerificationFailed
[];
55 // Image burner catchall
56 extern const char kChromeOSImageBurnerError
[];
59 } // namespace image_writer
60 } // namespace extensions
62 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_ERROR_MESSAGES_H_