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

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

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
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 #include "android_webview/browser/aw_printing_message_filter.h" 5 #include "android_webview/browser/aw_printing_message_filter.h"
6 6
7 #include "android_webview/browser/aw_print_manager.h" 7 #include "android_webview/browser/aw_print_manager.h"
8 #include "base/file_descriptor_posix.h"
8 #include "components/printing/common/print_messages.h" 9 #include "components/printing/common/print_messages.h"
9 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/render_view_host.h" 11 #include "content/public/browser/render_view_host.h"
11 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
12 13
13 using content::BrowserThread; 14 using content::BrowserThread;
14 using content::WebContents; 15 using content::WebContents;
15 16
16 namespace android_webview { 17 namespace android_webview {
17 18
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 int render_view_id, 79 int render_view_id,
79 int sequence_number) { 80 int sequence_number) {
80 DCHECK_CURRENTLY_ON(BrowserThread::UI); 81 DCHECK_CURRENTLY_ON(BrowserThread::UI);
81 AwPrintManager* print_manager = 82 AwPrintManager* print_manager =
82 GetPrintManager(render_process_id_, render_view_id); 83 GetPrintManager(render_process_id_, render_view_id);
83 if (print_manager) 84 if (print_manager)
84 print_manager->PdfWritingDone(true); 85 print_manager->PdfWritingDone(true);
85 } 86 }
86 87
87 } // namespace android_webview 88 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_printing_message_filter.h ('k') | chrome/browser/printing/printing_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698