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

Unified Diff: src/trusted/plugin/plugin.cc

Issue 7714041: Update proxy for PPP_Printing_Dev to deal with new QuerySupportedFormats (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixes based on review Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/plugin.cc
diff --git a/src/trusted/plugin/plugin.cc b/src/trusted/plugin/plugin.cc
index ce82ee10bcd7f8ed601fb9cbadd1c1fac9575f18..04901b55088eb35a5591a45a4fb783077afc8c7a 100644
--- a/src/trusted/plugin/plugin.cc
+++ b/src/trusted/plugin/plugin.cc
@@ -310,14 +310,11 @@ class PrintingAdapter : public pp::Printing_Dev {
proxy->GetPluginInterface(PPP_PRINTING_DEV_INTERFACE));
}
- PP_PrintOutputFormat_Dev*
- QuerySupportedPrintOutputFormats(uint32_t* format_count) {
+ uint32_t QuerySupportedPrintOutputFormats() {
if (ppp_printing_ != NULL) {
- return ppp_printing_->QuerySupportedFormats(plugin_->pp_instance(),
- format_count);
+ return ppp_printing_->QuerySupportedFormats(plugin_->pp_instance());
}
- *format_count = 0;
- return NULL;
+ return 0;
}
int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) {
« no previous file with comments | « src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698