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

Side by Side Diff: chrome/browser/printing/pdf_to_emf_converter.cc

Issue 323693002: Split printing utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/local_discovery/pwg_raster_converter.cc ('k') | chrome/chrome_browser.gypi » ('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 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 #include "chrome/browser/printing/pdf_to_emf_converter.h" 5 #include "chrome/browser/printing/pdf_to_emf_converter.h"
6 6
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file.h" 10 #include "base/files/file.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "chrome/common/chrome_utility_messages.h" 13 #include "chrome/common/chrome_utility_messages.h"
14 #include "chrome/common/chrome_utility_printing_messages.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/child_process_data.h" 16 #include "content/public/browser/child_process_data.h"
16 #include "content/public/browser/utility_process_host.h" 17 #include "content/public/browser/utility_process_host.h"
17 #include "content/public/browser/utility_process_host_client.h" 18 #include "content/public/browser/utility_process_host_client.h"
19 #include "printing/page_range.h"
20 #include "printing/pdf_render_settings.h"
18 21
19 namespace printing { 22 namespace printing {
20 23
21 namespace { 24 namespace {
22 25
23 using content::BrowserThread; 26 using content::BrowserThread;
24 27
25 class FileHandlers { 28 class FileHandlers {
26 public: 29 public:
27 FileHandlers() {} 30 FileHandlers() {}
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 } 300 }
298 301
299 } // namespace 302 } // namespace
300 303
301 // static 304 // static
302 scoped_ptr<PdfToEmfConverter> PdfToEmfConverter::CreateDefault() { 305 scoped_ptr<PdfToEmfConverter> PdfToEmfConverter::CreateDefault() {
303 return scoped_ptr<PdfToEmfConverter>(new PdfToEmfConverterImpl()); 306 return scoped_ptr<PdfToEmfConverter>(new PdfToEmfConverterImpl());
304 } 307 }
305 308
306 } // namespace printing 309 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/pwg_raster_converter.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698