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

Unified Diff: content/renderer/renderer_webaudiodevice_impl.h

Issue 6745026: Land Henrik's patch: http://codereview.chromium.org/6721027/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « content/renderer/audio_device.cc ('k') | content/renderer/renderer_webaudiodevice_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webaudiodevice_impl.h
===================================================================
--- content/renderer/renderer_webaudiodevice_impl.h (revision 79311)
+++ content/renderer/renderer_webaudiodevice_impl.h (working copy)
@@ -7,7 +7,7 @@
#include <vector>
-#include "base/scoped_ptr.h"
+#include "base/ref_counted.h"
#include "content/renderer/audio_device.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioDevice.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
@@ -28,10 +28,11 @@
// AudioDevice::RenderCallback implementation.
virtual void Render(const std::vector<float*>& audio_data,
- size_t number_of_frames);
+ size_t number_of_frames,
+ size_t audio_delay_milliseconds);
private:
- scoped_ptr<AudioDevice> audio_device_;
+ scoped_refptr<AudioDevice> audio_device_;
// Weak reference to the callback into WebKit code.
WebKit::WebAudioDevice::RenderCallback* client_callback_;
« no previous file with comments | « content/renderer/audio_device.cc ('k') | content/renderer/renderer_webaudiodevice_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698