Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / extensions / api / image_writer_private / error_messages.h
blob225f7336914060326e9f8f0d33243113b760b698
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_
8 namespace extensions {
9 namespace image_writer {
10 namespace error {
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[];
21 // File errors
22 extern const char kInvalidFileEntry[];
24 // Download errors
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[];
32 // Unzip errors
33 extern const char kUnzipGenericError[];
34 extern const char kUnzipInvalidArchive[];
36 // Write errors
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[];
58 } // namespace error
59 } // namespace image_writer
60 } // namespace extensions
62 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_ERROR_MESSAGES_H_