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

Side by Side Diff: content/renderer/render_thread_impl.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual void SetOutgoingMessageFilter( 110 virtual void SetOutgoingMessageFilter(
111 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; 111 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE;
112 virtual void AddObserver(RenderProcessObserver* observer) OVERRIDE; 112 virtual void AddObserver(RenderProcessObserver* observer) OVERRIDE;
113 virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE; 113 virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE;
114 virtual void SetResourceDispatcherDelegate( 114 virtual void SetResourceDispatcherDelegate(
115 ResourceDispatcherDelegate* delegate) OVERRIDE; 115 ResourceDispatcherDelegate* delegate) OVERRIDE;
116 virtual void WidgetHidden() OVERRIDE; 116 virtual void WidgetHidden() OVERRIDE;
117 virtual void WidgetRestored() OVERRIDE; 117 virtual void WidgetRestored() OVERRIDE;
118 virtual void EnsureWebKitInitialized() OVERRIDE; 118 virtual void EnsureWebKitInitialized() OVERRIDE;
119 virtual void RecordUserMetrics(const std::string& action) OVERRIDE; 119 virtual void RecordUserMetrics(const std::string& action) OVERRIDE;
120 virtual base::SharedMemoryHandle HostAllocateSharedMemoryBuffer( 120 virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer(
121 uint32 buffer_size) OVERRIDE; 121 uint32 buffer_size) OVERRIDE;
122 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; 122 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE;
123 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; 123 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE;
124 virtual void IdleHandler() OVERRIDE; 124 virtual void IdleHandler() OVERRIDE;
125 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; 125 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE;
126 virtual void SetIdleNotificationDelayInMs( 126 virtual void SetIdleNotificationDelayInMs(
127 int64 idle_notification_delay_in_ms) OVERRIDE; 127 int64 idle_notification_delay_in_ms) OVERRIDE;
128 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; 128 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE;
129 virtual void UpdateHistograms(int sequence_number) OVERRIDE; 129 virtual void UpdateHistograms(int sequence_number) OVERRIDE;
130 #if defined(OS_WIN) 130 #if defined(OS_WIN)
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 373 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
374 374
375 HistogramCustomizer histogram_customizer_; 375 HistogramCustomizer histogram_customizer_;
376 376
377 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 377 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
378 }; 378 };
379 379
380 } // namespace content 380 } // namespace content
381 381
382 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 382 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698