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

Unified Diff: remoting/protocol/audio_writer.h

Issue 10556020: Cleaned up the reader and writer create methods to return scoped_ptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary code Created 8 years, 6 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 | remoting/protocol/audio_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/audio_writer.h
diff --git a/remoting/protocol/audio_writer.h b/remoting/protocol/audio_writer.h
index 517c0a6dd6e59451ade197f1a8586d181d7e15f4..34bd8f9ac993986079e5372e751e1f10d188fa78 100644
--- a/remoting/protocol/audio_writer.h
+++ b/remoting/protocol/audio_writer.h
@@ -32,7 +32,7 @@ class AudioWriter : public AudioStub {
// parameter is set to true on success.
typedef base::Callback<void(bool)> InitializedCallback;
- static AudioWriter* Create(const SessionConfig& config);
+ static scoped_ptr<AudioWriter> Create(const SessionConfig& config);
// Initializes the writer.
void Init(Session* session, const InitializedCallback& callback);
« no previous file with comments | « no previous file | remoting/protocol/audio_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698