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

Side by Side Diff: chrome/utility/image_writer/image_writer_handler.h

Issue 638863002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/utility (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_UTILITY_IMAGE_WRITER_IMAGE_WRITER_HANDLER_H_ 5 #ifndef CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_HANDLER_H_
6 #define CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_HANDLER_H_ 6 #define CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/utility/image_writer/image_writer.h" 10 #include "chrome/utility/image_writer/image_writer.h"
(...skipping 14 matching lines...) Expand all
25 virtual ~ImageWriterHandler(); 25 virtual ~ImageWriterHandler();
26 26
27 // Methods for sending the different messages back to the browser process. 27 // Methods for sending the different messages back to the browser process.
28 // Generally should be called by chrome::image_writer::ImageWriter. 28 // Generally should be called by chrome::image_writer::ImageWriter.
29 virtual void SendSucceeded(); 29 virtual void SendSucceeded();
30 virtual void SendCancelled(); 30 virtual void SendCancelled();
31 virtual void SendFailed(const std::string& message); 31 virtual void SendFailed(const std::string& message);
32 virtual void SendProgress(int64 progress); 32 virtual void SendProgress(int64 progress);
33 33
34 private: 34 private:
35 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 35 virtual bool OnMessageReceived(const IPC::Message& message) override;
36 36
37 // Small wrapper for sending on the UtilityProcess. 37 // Small wrapper for sending on the UtilityProcess.
38 void Send(IPC::Message* msg); 38 void Send(IPC::Message* msg);
39 39
40 // Message handlers. 40 // Message handlers.
41 void OnWriteStart(const base::FilePath& image, const base::FilePath& device); 41 void OnWriteStart(const base::FilePath& image, const base::FilePath& device);
42 void OnVerifyStart(const base::FilePath& image, const base::FilePath& device); 42 void OnVerifyStart(const base::FilePath& image, const base::FilePath& device);
43 void OnCancel(); 43 void OnCancel();
44 44
45 scoped_ptr<ImageWriter> image_writer_; 45 scoped_ptr<ImageWriter> image_writer_;
46 }; 46 };
47 47
48 } // namespace image_writer 48 } // namespace image_writer
49 49
50 #endif // CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_HANDLER_H_ 50 #endif // CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/utility/extensions/extensions_handler.h ('k') | chrome/utility/image_writer/image_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698