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

Unified Diff: chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h

Issue 23532044: Renames the Recovery API to ImageWriter API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@linux-skeleton
Patch Set: Moves OWNERS file. Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h
diff --git a/chrome/browser/extensions/api/recovery_private/write_from_file_operation.h b/chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h
similarity index 47%
rename from chrome/browser/extensions/api/recovery_private/write_from_file_operation.h
rename to chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h
index 5a19ba6cc1047f199de920ae87b59cadcce4e11a..478ae85ee7a88dca80de89179fe9e762aa39f65f 100644
--- a/chrome/browser/extensions/api/recovery_private/write_from_file_operation.h
+++ b/chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h
@@ -1,19 +1,19 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_RECOVERY_PRIVATE_WRITE_FROM_FILE_OPERATION_H_
-#define CHROME_BROWSER_EXTENSIONS_API_RECOVERY_PRIVATE_WRITE_FROM_FILE_OPERATION_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_WRITE_FROM_FILE_OPERATION_H_
+#define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_WRITE_FROM_FILE_OPERATION_H_
-#include "chrome/browser/extensions/api/recovery_private/recovery_operation.h"
+#include "chrome/browser/extensions/api/image_writer_private/operation.h"
namespace extensions {
-namespace recovery {
+namespace image_writer {
// Encapsulates a write of an image from a local file.
-class WriteFromFileOperation : public RecoveryOperation {
+class WriteFromFileOperation : public Operation {
public:
- WriteFromFileOperation(RecoveryOperationManager* manager,
+ WriteFromFileOperation(OperationManager* manager,
const ExtensionId& extension_id,
const base::FilePath& path,
const std::string& storage_unit_id);
@@ -24,7 +24,7 @@ class WriteFromFileOperation : public RecoveryOperation {
const base::FilePath path_;
};
-} // namespace recovery
+} // namespace image_writer
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_RECOVERY_PRIVATE_WRITE_FROM_FILE_OPERATION_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_WRITE_FROM_FILE_OPERATION_H_

Powered by Google App Engine
This is Rietveld 408576698