| OLD | NEW |
| 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 "ppapi/proxy/ppp_pdf_proxy.h" | 5 #include "ppapi/proxy/ppp_pdf_proxy.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" |
| 7 #include "ppapi/proxy/host_dispatcher.h" | 8 #include "ppapi/proxy/host_dispatcher.h" |
| 8 #include "ppapi/proxy/ppapi_messages.h" | 9 #include "ppapi/proxy/ppapi_messages.h" |
| 9 #include "ppapi/shared_impl/proxy_lock.h" | 10 #include "ppapi/shared_impl/proxy_lock.h" |
| 10 | 11 |
| 11 namespace ppapi { | 12 namespace ppapi { |
| 12 namespace proxy { | 13 namespace proxy { |
| 13 | 14 |
| 14 namespace { | 15 namespace { |
| 15 | 16 |
| 16 #if !defined(OS_NACL) | 17 #if !defined(OS_NACL) |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 PP_PdfPrintPresetOptions_Dev* options, | 92 PP_PdfPrintPresetOptions_Dev* options, |
| 92 PP_Bool* result) { | 93 PP_Bool* result) { |
| 93 if (ppp_pdf_) { | 94 if (ppp_pdf_) { |
| 94 *result = CallWhileUnlocked( | 95 *result = CallWhileUnlocked( |
| 95 ppp_pdf_->GetPrintPresetOptionsFromDocument, instance, options); | 96 ppp_pdf_->GetPrintPresetOptionsFromDocument, instance, options); |
| 96 } | 97 } |
| 97 } | 98 } |
| 98 | 99 |
| 99 } // namespace proxy | 100 } // namespace proxy |
| 100 } // namespace ppapi | 101 } // namespace ppapi |
| OLD | NEW |