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

Side by Side Diff: android_webview/browser/aw_printing_message_filter.h

Issue 2484943004: Remove unused parts of IPC::ChannelHandle. (Closed)
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « no previous file | android_webview/browser/aw_printing_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_
6 #define ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/browser_message_filter.h" 9 #include "content/public/browser/browser_message_filter.h"
10 10
11 namespace base {
12 struct FileDescriptor;
13 }
14
11 namespace android_webview { 15 namespace android_webview {
12 16
13 // This class filters out incoming printing related IPC messages for the 17 // This class filters out incoming printing related IPC messages for the
14 // renderer process on the IPC thread. 18 // renderer process on the IPC thread.
15 class AwPrintingMessageFilter : public content::BrowserMessageFilter { 19 class AwPrintingMessageFilter : public content::BrowserMessageFilter {
16 public: 20 public:
17 explicit AwPrintingMessageFilter(int render_process_id); 21 explicit AwPrintingMessageFilter(int render_process_id);
18 22
19 // content::BrowserMessageFilter methods. 23 // content::BrowserMessageFilter methods.
20 void OverrideThreadForMessage(const IPC::Message& message, 24 void OverrideThreadForMessage(const IPC::Message& message,
(...skipping 11 matching lines...) Expand all
32 void OnTempFileForPrintingWritten(int render_view_id, int sequence_number); 36 void OnTempFileForPrintingWritten(int render_view_id, int sequence_number);
33 37
34 const int render_process_id_; 38 const int render_process_id_;
35 39
36 DISALLOW_COPY_AND_ASSIGN(AwPrintingMessageFilter); 40 DISALLOW_COPY_AND_ASSIGN(AwPrintingMessageFilter);
37 }; 41 };
38 42
39 } // namespace android_webview 43 } // namespace android_webview
40 44
41 #endif // ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_ 45 #endif // ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698