app_list: Re-enable people search.
[chromium-blink-merge.git] / chrome / browser / extensions / api / image_writer_private / error_messages.cc
blob06db4589cccb93ea28b17ffb8262f9e75ddfae30
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 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h"
7 namespace extensions {
8 namespace image_writer {
9 namespace error {
11 // General operation messages.
12 const char kAborted[] = "ABORTED";
13 const char kNoOperationInProgress[] = "NO_OPERATION_IN_PROGRESS";
14 const char kOperationAlreadyInProgress[] = "OPERATION_ALREADY_IN_PROGRESS";
15 const char kUnsupportedOperation[] = "UNSUPPORTED_OPERATION";
17 // Device listing errors
18 const char kDeviceListError[] = "DEVICE_LIST_ERROR";
20 // File errors
21 const char kInvalidFileEntry[] = "FILE_INVALID";
23 // Download errors
24 const char kDownloadCancelled[] = "DOWNLOAD_CANCELLED";
25 const char kDownloadHashError[] = "DOWNLOAD_HASH_MISMATCH";
26 const char kDownloadInterrupted[] = "DOWNLOAD_INTERRUPTED";
27 const char kTempDirError[] = "TEMP_DIR_CREATION_ERROR";
28 const char kTempFileError[] = "TEMP_FILE_CREATION_ERROR";
29 const char kUrlInvalid[] = "URL_INVALID";
31 // Unzip errors
32 const char kUnzipGenericError[] = "UNZIP_ERROR";
33 const char kUnzipInvalidArchive[] = "UNZIP_INVALID_ARCHIVE";
35 // Write errors
36 const char kDeviceCloseError[] = "DEVICE_CLOSE_FAILED";
37 const char kDeviceInvalid[] = "DEVICE_INVALID";
38 const char kDeviceHashError[] = "DEVICE_HASH_ERROR";
39 const char kDeviceOpenError[] = "DEVICE_OPEN_ERROR";
40 const char kDeviceWriteError[] = "DEVICE_WRITE_ERROR";
41 const char kImageCloseError[] = "IMAGE_CLOSE_FAILED";
42 const char kImageInvalid[] = "IMAGE_INVALID";
43 const char kImageHashError[] = "IMAGE_HASH_ERROR";
44 const char kImageNotFound[] = "IMAGE_NOT_FOUND";
45 const char kImageOpenError[] = "IMAGE_OPEN_ERROR";
46 const char kImageReadError[] = "IMAGE_READ_ERROR";
47 const char kImageSizeError[] = "IMAGE_STAT_ERROR";
48 const char kUnmountVolumesError[] = "UNMOUNT_VOLUMES_ERROR";
50 // Verification Errors
51 const char kHashReadError[] = "HASH_READ_ERROR";
52 const char kVerificationFailed[] = "VERIFICATION_FAILED";
54 // Image burner catchall
55 const char kChromeOSImageBurnerError[] = "CHROMEOS_IMAGE_BURNER_ERROR";
57 } // namespace error
58 } // namespace image_writer
59 } // namespace extensions