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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/print_view_manager_basic.h" 5 #include "chrome/browser/printing/print_view_manager_basic.h"
6 6
7 #include "build/build_config.h"
8
7 #if defined(OS_ANDROID) 9 #if defined(OS_ANDROID)
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "printing/printing_context_android.h" 11 #include "printing/printing_context_android.h"
10 #endif 12 #endif
11 13
12 DEFINE_WEB_CONTENTS_USER_DATA_KEY(printing::PrintViewManagerBasic); 14 DEFINE_WEB_CONTENTS_USER_DATA_KEY(printing::PrintViewManagerBasic);
13 15
14 namespace printing { 16 namespace printing {
15 17
16 PrintViewManagerBasic::PrintViewManagerBasic(content::WebContents* web_contents) 18 PrintViewManagerBasic::PrintViewManagerBasic(content::WebContents* web_contents)
17 : PrintViewManagerBase(web_contents) { 19 : PrintViewManagerBase(web_contents) {
18 #if defined(OS_ANDROID) 20 #if defined(OS_ANDROID)
19 pdf_writing_done_callback_ = 21 pdf_writing_done_callback_ =
20 base::Bind(&PrintingContextAndroid::PdfWritingDone); 22 base::Bind(&PrintingContextAndroid::PdfWritingDone);
21 #endif 23 #endif
22 } 24 }
23 25
24 PrintViewManagerBasic::~PrintViewManagerBasic() { 26 PrintViewManagerBasic::~PrintViewManagerBasic() {
25 } 27 }
26 28
27 } // namespace printing 29 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager_basic.h ('k') | chrome/browser/printing/printer_manager_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698