Index: ppapi/cpp/url_loader.cc |
=================================================================== |
--- ppapi/cpp/url_loader.cc (revision 91773) |
+++ ppapi/cpp/url_loader.cc (working copy) |
@@ -6,7 +6,6 @@ |
#include "ppapi/c/ppb_url_loader.h" |
#include "ppapi/c/pp_errors.h" |
-#include "ppapi/cpp/common.h" |
#include "ppapi/cpp/completion_callback.h" |
#include "ppapi/cpp/dev/file_ref_dev.h" |
#include "ppapi/cpp/instance.h" |
@@ -66,7 +65,7 @@ |
int64_t* total_bytes_to_be_sent) const { |
if (!has_interface<PPB_URLLoader>()) |
return false; |
- return PPBoolToBool(get_interface<PPB_URLLoader>()->GetUploadProgress( |
+ return PP_ToBool(get_interface<PPB_URLLoader>()->GetUploadProgress( |
pp_resource(), bytes_sent, total_bytes_to_be_sent)); |
} |
@@ -75,9 +74,8 @@ |
int64_t* total_bytes_to_be_received) const { |
if (!has_interface<PPB_URLLoader>()) |
return false; |
- return PPBoolToBool( |
- get_interface<PPB_URLLoader>()->GetDownloadProgress( |
- pp_resource(), bytes_received, total_bytes_to_be_received)); |
+ return PP_ToBool(get_interface<PPB_URLLoader>()->GetDownloadProgress( |
+ pp_resource(), bytes_received, total_bytes_to_be_received)); |
} |
URLResponseInfo URLLoader::GetResponseInfo() const { |