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

Unified Diff: content/public/renderer/renderer_ppapi_host.h

Issue 11416064: Convert URLLoader to the new proxy design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments, merge 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/pepper/content_renderer_pepper_host_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/renderer_ppapi_host.h
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h
index 3cd550c2a3747b0159da64cd72d3fc0b34cd9264..27c1f1fc7ca8c060da08b642eea979e9aa4e75ac 100644
--- a/content/public/renderer/renderer_ppapi_host.h
+++ b/content/public/renderer/renderer_ppapi_host.h
@@ -7,6 +7,7 @@
#include "base/memory/ref_counted.h"
#include "base/platform_file.h"
+#include "base/process.h"
#include "content/common/content_export.h"
#include "ipc/ipc_platform_file.h"
#include "ppapi/c/pp_instance.h"
@@ -90,6 +91,10 @@ class RendererPpapiHost {
virtual WebKit::WebPluginContainer* GetContainerForInstance(
PP_Instance instance) const = 0;
+ // Returns the PID of the child process containing the plugin. If running
+ // in-process, this returns base::kNullProcessId.
+ virtual base::ProcessId GetPluginPID() const = 0;
+
// Returns the PlatformGraphics2D for the given plugin resource, or NULL if
// the resource is invalid.
virtual webkit::ppapi::PluginDelegate::PlatformGraphics2D*
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/pepper/content_renderer_pepper_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698