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

Unified Diff: content/renderer/render_process.h

Issue 10826100: Make RenderProcessImpl::CreateTransportDIB and RenderProcessImpl::FreeTransportDIB public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed jam@'s comments 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
« no previous file with comments | « no previous file | content/renderer/render_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_process.h
diff --git a/content/renderer/render_process.h b/content/renderer/render_process.h
index 50dca8f1be30ed218bf831834fb3a1ee313557f0..accecc642436c93e8858f29fd7c0e2ff9e20a0a3 100644
--- a/content/renderer/render_process.h
+++ b/content/renderer/render_process.h
@@ -54,6 +54,11 @@ class RenderProcess : public ChildProcess {
// The cumulative set of enabled bindings for this process.
virtual int GetEnabledBindings() const = 0;
+ // Create a new transport DIB of, at least, the given size. Return NULL on
+ // error.
+ virtual TransportDIB* CreateTransportDIB(size_t size) = 0;
+ virtual void FreeTransportDIB(TransportDIB*) = 0;
+
// Returns a pointer to the RenderProcess singleton instance. Assuming that
// we're actually a renderer or a renderer test, this static cast will
// be correct.
« no previous file with comments | « no previous file | content/renderer/render_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698