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

Unified Diff: content/renderer/pepper/pepper_in_process_resource_creation.cc

Issue 11411357: PPB_HostResolver_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed MockPluginDelegate. Created 8 years 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
Index: content/renderer/pepper/pepper_in_process_resource_creation.cc
diff --git a/content/renderer/pepper/pepper_in_process_resource_creation.cc b/content/renderer/pepper/pepper_in_process_resource_creation.cc
index 3d6d12b36c51347ab9a3198080a4ce764fb4ef79..07a1aa6641e5ebfb836f563bbc18005a01e5eb66 100644
--- a/content/renderer/pepper/pepper_in_process_resource_creation.cc
+++ b/content/renderer/pepper/pepper_in_process_resource_creation.cc
@@ -26,6 +26,12 @@
#include "ppapi/shared_impl/resource_tracker.h"
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
+namespace {
+
+PP_Resource kInvalidResource = 0;
+
+} // namespace
+
// Note that the code in the creation functions in this file should generally
// be the same as that in ppapi/proxy/resource_creation_proxy.cc. See
// pepper_in_process_resource_creation.h for what this file is for.
@@ -77,6 +83,12 @@ PP_Resource PepperInProcessResourceCreation::CreateGraphics2D(
instance, size, is_always_opaque))->GetReference();
}
+PP_Resource PepperInProcessResourceCreation::CreateHostResolverPrivate(
+ PP_Instance instance) {
+ NOTIMPLEMENTED();
+ return kInvalidResource;
yzshen1 2012/12/20 20:00:20 I personally don't think this is necessary, becaus
ygorshenin1 2012/12/21 12:53:26 Done. I prefer to use symbolic names instead of n
+}
+
PP_Resource PepperInProcessResourceCreation::CreatePrinting(
PP_Instance instance) {
return (new ppapi::proxy::PrintingResource(

Powered by Google App Engine
This is Rietveld 408576698