Remove PPBoolToBool and BoolToPPBool and use PP_FromBool and PP_ToBool instead.
I will remove ppapi/cpp/common.h when I'm sure nacl doesn't need it.

TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/7237039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91809 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/cpp/url_loader.cc b/ppapi/cpp/url_loader.cc
index 65aa1f3..0a9db41 100644
--- a/ppapi/cpp/url_loader.cc
+++ b/ppapi/cpp/url_loader.cc
@@ -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 {