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

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

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

Powered by Google App Engine
This is Rietveld 408576698