Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: chrome/browser/extensions/api/image_writer_private/error_messages.cc

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h" 5 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace image_writer { 8 namespace image_writer {
9 namespace error { 9 namespace error {
10 10
11 const char kAborted[] = "Aborted."; 11 const char kAborted[] = "Aborted.";
12 const char kCloseDevice[] = "Failed to close usb device file."; 12 const char kCloseDevice[] = "Failed to close usb device file.";
13 const char kCloseImage[] = "Failed to close image file."; 13 const char kCloseImage[] = "Failed to close image file.";
14 const char kDeviceList[] = "Failed to retrieve device list."; 14 const char kDeviceList[] = "Failed to retrieve device list.";
15 const char kDeviceMD5[] = "Failed to calculate MD5 sum for written image."; 15 const char kDeviceMD5[] = "Failed to calculate MD5 sum for written image.";
16 const char kDownloadCancelled[] = "The download was cancelled."; 16 const char kDownloadCancelled[] = "The download was cancelled.";
17 const char kDownloadHash[] = "Downloaded image had incorrect MD5 sum."; 17 const char kDownloadHash[] = "Downloaded image had incorrect MD5 sum.";
18 const char kDownloadInterrupted[] = "Download interrupted."; 18 const char kDownloadInterrupted[] = "Download interrupted.";
19 const char kDownloadMD5[] = "Failed to calculate MD5 sum for download."; 19 const char kDownloadMD5[] = "Failed to calculate MD5 sum for download.";
20 const char kEmptyUnzip[] = "Unzipped image contained no files."; 20 const char kEmptyUnzip[] = "Unzipped image contained no files.";
21 const char kFileOperationsNotImplemented[] = "Write-from file not implemented."; 21 const char kFileOperationsNotImplemented[] = "Write-from file not implemented.";
22 const char kImageBurnerError[] = "Error contacting Image Burner process."; 22 const char kImageBurnerError[] = "Error contacting Image Burner process.";
23 const char kImageMD5[] = "Failed to calculate MD5 sum for unzipped image."; 23 const char kImageMD5[] = "Failed to calculate MD5 sum for unzipped image.";
24 const char kImageNotFound[] = "Unpacked image not found."; 24 const char kImageNotFound[] = "Unpacked image not found.";
25 const char kImageSize[] = "Could not determine image size."; 25 const char kImageSize[] = "Could not determine image size.";
26 const char kInvalidFileEntry[] = "Invalid file entry.";
27 const char kInvalidUrl[] = "Invalid URL provided."; 26 const char kInvalidUrl[] = "Invalid URL provided.";
28 const char kMultiFileZip[] = "More than one file in zip." 27 const char kMultiFileZip[] = "More than one file in zip."
29 " Unsure how to proceed."; 28 " Unsure how to proceed.";
30 const char kNoOperationInProgress[] = "No operation in progress."; 29 const char kNoOperationInProgress[] = "No operation in progress.";
31 const char kOpenDevice[] = "Failed to open usb device for writing."; 30 const char kOpenDevice[] = "Failed to open usb device for writing.";
32 const char kOpenImage[] = "Failed to open image."; 31 const char kOpenImage[] = "Failed to open image.";
33 const char kOperationAlreadyInProgress[] = "Operation already in progress."; 32 const char kOperationAlreadyInProgress[] = "Operation already in progress.";
34 const char kPrematureEndOfFile[] = "Premature end of image file."; 33 const char kPrematureEndOfFile[] = "Premature end of image file.";
35 const char kReadImage[] = "Failed to read image."; 34 const char kReadImage[] = "Failed to read image.";
36 const char kTempDir[] = "Unable to create temporary directory."; 35 const char kTempDir[] = "Unable to create temporary directory.";
37 const char kTempFile[] = "Unable to create temporary file."; 36 const char kTempFile[] = "Unable to create temporary file.";
38 const char kUnsupportedOperation[] = "Unsupported operation."; 37 const char kUnsupportedOperation[] = "Unsupported operation.";
39 const char kUnzip[] = "Unzip failed."; 38 const char kUnzip[] = "Unzip failed.";
40 const char kWriteHash[] = "Writing image resulted in incorrect hash."; 39 const char kWriteHash[] = "Writing image resulted in incorrect hash.";
41 const char kWriteImage[] = "Writing image to device failed."; 40 const char kWriteImage[] = "Writing image to device failed.";
42 41
43 } // namespace error 42 } // namespace error
44 } // namespace image_writer 43 } // namespace image_writer
45 } // namespace extensions 44 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698