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

Side by Side Diff: chrome/browser/printing/printing_message_filter.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PRINTING_PRINTING_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 24 matching lines...) Expand all
35 35
36 // This class filters out incoming printing related IPC messages for the 36 // This class filters out incoming printing related IPC messages for the
37 // renderer process on the IPC thread. 37 // renderer process on the IPC thread.
38 class PrintingMessageFilter : public content::BrowserMessageFilter { 38 class PrintingMessageFilter : public content::BrowserMessageFilter {
39 public: 39 public:
40 PrintingMessageFilter(int render_process_id, Profile* profile); 40 PrintingMessageFilter(int render_process_id, Profile* profile);
41 41
42 // content::BrowserMessageFilter methods. 42 // content::BrowserMessageFilter methods.
43 virtual void OverrideThreadForMessage( 43 virtual void OverrideThreadForMessage(
44 const IPC::Message& message, 44 const IPC::Message& message,
45 content::BrowserThread::ID* thread) OVERRIDE; 45 content::BrowserThread::ID* thread) override;
46 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 46 virtual bool OnMessageReceived(const IPC::Message& message) override;
47 47
48 private: 48 private:
49 virtual ~PrintingMessageFilter(); 49 virtual ~PrintingMessageFilter();
50 50
51 #if defined(OS_WIN) 51 #if defined(OS_WIN)
52 // Used to pass resulting EMF from renderer to browser in printing. 52 // Used to pass resulting EMF from renderer to browser in printing.
53 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, 53 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle,
54 base::SharedMemoryHandle* browser_handle); 54 base::SharedMemoryHandle* browser_handle);
55 #endif 55 #endif
56 56
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 const int render_process_id_; 120 const int render_process_id_;
121 121
122 scoped_refptr<PrintQueriesQueue> queue_; 122 scoped_refptr<PrintQueriesQueue> queue_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); 124 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter);
125 }; 125 };
126 126
127 } // namespace printing 127 } // namespace printing
128 128
129 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ 129 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_layout_browsertest.cc ('k') | chrome/browser/process_singleton_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698