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

Side by Side Diff: chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.h

Issue 109793006: Adds ImageWriterPrivate.destroyPartitions operation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 7 years 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
OLDNEW
(Empty)
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 #ifndef CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_DESTROY_PARTITIONS_OP ERATION_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_DESTROY_PARTITIONS_OP ERATION_H_
7
8 #include "chrome/browser/extensions/api/image_writer_private/operation.h"
9
10 namespace extensions {
11 namespace image_writer {
12
13 extern const int kPartitionTableSize;
14
15 // Encapsulates an operation for destroying partitions. This is achieved by
16 // creating a dummy blank image which is then burned to the disk.
17 class DestroyPartitionsOperation : public Operation {
18 public:
19 DestroyPartitionsOperation(base::WeakPtr<OperationManager> manager,
20 const ExtensionId& extension_id,
21 const std::string& storage_unit_id);
22 virtual void Start() OVERRIDE;
23
24 private:
25 virtual ~DestroyPartitionsOperation();
26 };
27
28 } // namespace image_writer
29 } // namespace extensions
30
31 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_DESTROY_PARTITIONS _OPERATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698