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

Unified Diff: remoting/protocol/video_writer.h

Issue 7604021: Revert 96089 - Remove video_channel() from Session interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
Index: remoting/protocol/video_writer.h
===================================================================
--- remoting/protocol/video_writer.h (revision 96105)
+++ remoting/protocol/video_writer.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,7 +11,6 @@
#define REMOTING_PROTOCOL_VIDEO_WRITER_H_
#include "base/basictypes.h"
-#include "base/callback.h"
#include "remoting/protocol/video_stub.h"
namespace remoting {
@@ -24,14 +23,10 @@
public:
virtual ~VideoWriter();
- // The callback is called when initialization is finished. The
- // parameter is set to true on success.
- typedef base::Callback<void(bool)> InitializedCallback;
-
static VideoWriter* Create(const SessionConfig* config);
// Initializes the writer.
- virtual void Init(Session* session, const InitializedCallback& callback) = 0;
+ virtual void Init(Session* session) = 0;
// Stops writing. Must be called on the network thread before this
// object is destroyed.
« no previous file with comments | « remoting/protocol/video_reader.h ('k') | tools/valgrind/gtest_exclude/remoting_unittests.gtest-drmemory_win32.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698