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

Unified Diff: content/renderer/render_process_impl.h

Issue 10830072: Browser Plugin: New Implementation (Renderer Side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added lots more comments to messages and public members of BrowserPlugin Created 8 years, 5 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
Index: content/renderer/render_process_impl.h
diff --git a/content/renderer/render_process_impl.h b/content/renderer/render_process_impl.h
index ff5e4219d0d4f0ac8f6f69d720cb549f698f2383..a27d901e137f8a0338dc6802bad565877785f30f 100644
--- a/content/renderer/render_process_impl.h
+++ b/content/renderer/render_process_impl.h
@@ -28,6 +28,8 @@ class RenderProcessImpl : public RenderProcess {
virtual bool UseInProcessPlugins() const OVERRIDE;
virtual void AddBindings(int bindings) OVERRIDE;
virtual int GetEnabledBindings() const OVERRIDE;
+ virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE;
+ virtual void FreeTransportDIB(TransportDIB*) OVERRIDE;
// Like UseInProcessPlugins(), but called before RenderProcess is created
// and does not allow overriding by tests. This just checks the command line
@@ -53,11 +55,6 @@ class RenderProcessImpl : public RenderProcess {
// size, this doesn't free any slots and returns -1.
int FindFreeCacheSlot(size_t size);
- // Create a new transport DIB of, at least, the given size. Return NULL on
- // error.
- TransportDIB* CreateTransportDIB(size_t size);
- void FreeTransportDIB(TransportDIB*);
-
// A very simplistic and small cache. If an entry in this array is non-null,
// then it points to a SharedMemory object that is available for reuse.
TransportDIB* shared_mem_cache_[2];

Powered by Google App Engine
This is Rietveld 408576698