- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / image_writer_private / error_messages.cc
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.
4
5 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h"
6
7 namespace extensions {
8 namespace image_writer {
9 namespace error {
10
11 const char kAborted[] = "Aborted.";
12 const char kCloseDevice[] = "Failed to close usb device file.";
13 const char kCloseImage[] = "Failed to close image file.";
14 const char kDeviceList[] = "Failed to retrieve device list.";
15 const char kDeviceMD5[] = "Failed to calculate MD5 sum for written image.";
16 const char kDownloadCancelled[] = "The download was cancelled.";
17 const char kDownloadHash[] = "Downloaded image had incorrect MD5 sum.";
18 const char kDownloadInterrupted[] = "Download interrupted.";
19 const char kDownloadMD5[] = "Failed to calculate MD5 sum for download.";
20 const char kEmptyUnzip[] = "Unzipped image contained no files.";
21 const char kFileOperationsNotImplemented[] = "Write-from file not implemented.";
22 const char kImageBurnerError[] = "Error contacting Image Burner process.";
23 const char kImageMD5[] = "Failed to calculate MD5 sum for unzipped image.";
24 const char kImageNotFound[] = "Unpacked image not found.";
25 const char kImageSize[] = "Could not determine image size.";
26 const char kInvalidUrl[] = "Invalid URL provided.";
27 const char kMultiFileZip[] = "More than one file in zip."
28                              " Unsure how to proceed.";
29 const char kNoOperationInProgress[] = "No operation in progress.";
30 const char kOpenDevice[] = "Failed to open usb device for writing.";
31 const char kOpenImage[] = "Failed to open image.";
32 const char kOperationAlreadyInProgress[] = "Operation already in progress.";
33 const char kPrematureEndOfFile[] = "Premature end of image file.";
34 const char kReadImage[] = "Failed to read image.";
35 const char kTempDir[] = "Unable to create temporary directory.";
36 const char kTempFile[] = "Unable to create temporary file.";
37 const char kUnsupportedOperation[] = "Unsupported operation.";
38 const char kUnzip[] = "Unzip failed.";
39 const char kWriteHash[] = "Writing image resulted in incorrect hash.";
40 const char kWriteImage[] = "Writing image to device failed.";
41
42 } // namespace error
43 } // namespace image_writer
44 } // namespace extensions