| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/utility/image_writer/error_messages.h" | 5 #include "chrome/utility/image_writer/error_messages.h" |
| 6 | 6 |
| 7 namespace image_writer { | 7 namespace image_writer { |
| 8 namespace error { | 8 namespace error { |
| 9 | 9 |
| 10 const char kCleanUp[] = "Failed to clean up after write operation."; | |
| 11 const char kCloseDevice[] = "Failed to close usb device."; | |
| 12 const char kCloseImage[] = "Failed to close image file."; | |
| 13 const char kInvalidDevice[] = "Invalid device path."; | 10 const char kInvalidDevice[] = "Invalid device path."; |
| 14 const char kNoOperationInProgress[] = "No operation in progress."; | |
| 15 const char kOpenDevice[] = "Failed to open device."; | 11 const char kOpenDevice[] = "Failed to open device."; |
| 16 const char kOpenImage[] = "Failed to open image."; | 12 const char kOpenImage[] = "Failed to open image."; |
| 17 const char kOperationAlreadyInProgress[] = "Operation already in progress."; | 13 const char kOperationAlreadyInProgress[] = "Operation already in progress."; |
| 18 const char kReadDevice[] = "Failed to read device."; | 14 const char kReadDevice[] = "Failed to read device."; |
| 19 const char kReadImage[] = "Failed to read image."; | 15 const char kReadImage[] = "Failed to read image."; |
| 20 const char kWriteImage[] = "Writing image to device failed."; | 16 const char kWriteImage[] = "Writing image to device failed."; |
| 17 #if defined(OS_MACOSX) |
| 21 const char kUnmountVolumes[] = "Unable to unmount the device."; | 18 const char kUnmountVolumes[] = "Unable to unmount the device."; |
| 19 #endif |
| 22 const char kVerificationFailed[] = "Verification failed."; | 20 const char kVerificationFailed[] = "Verification failed."; |
| 23 | 21 |
| 24 } // namespace error | 22 } // namespace error |
| 25 } // namespace image_writer | 23 } // namespace image_writer |
| OLD | NEW |