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

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

Issue 11469015: Renderer process can allocate anonymous shared memory without help from browser process on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase 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 | « chrome/renderer/print_web_view_helper_linux.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_thread.h
===================================================================
--- content/public/renderer/render_thread.h (revision 172434)
+++ content/public/renderer/render_thread.h (working copy)
@@ -82,8 +82,8 @@
virtual void RecordUserMetrics(const std::string& action) = 0;
// Asks the host to create a block of shared memory for the renderer.
- // The shared memory handle allocated by the host is returned back.
- virtual base::SharedMemoryHandle HostAllocateSharedMemoryBuffer(
+ // The shared memory allocated by the host is returned back.
+ virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer(
uint32 buffer_size) = 0;
// Registers the given V8 extension with WebKit.
« no previous file with comments | « chrome/renderer/print_web_view_helper_linux.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698