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

Side by Side Diff: tools/android/forwarder2/forwarder.h

Issue 137923004: Revert "Revert 235213 "android: forwader2: Simplify Forwarder implementa..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DCHECK() in SetPeer() Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/android/forwarder2/forwarder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 TOOLS_ANDROID_FORWARDER2_FORWARDER_H_ 5 #ifndef TOOLS_ANDROID_FORWARDER2_FORWARDER_H_
6 #define TOOLS_ANDROID_FORWARDER2_FORWARDER_H_ 6 #define TOOLS_ANDROID_FORWARDER2_FORWARDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/threading/thread.h"
10 9
11 namespace forwarder2 { 10 namespace forwarder2 {
12 11
13 class Socket; 12 class Socket;
14 13
15 void StartForwarder(scoped_ptr<Socket> socket1, scoped_ptr<Socket> socket2); 14 void StartForwarder(scoped_ptr<Socket> socket1, scoped_ptr<Socket> socket2);
16 15
17 } // namespace forwarder2 16 } // namespace forwarder2
18 17
19 #endif // TOOLS_ANDROID_FORWARDER2_FORWARDER_H_ 18 #endif // TOOLS_ANDROID_FORWARDER2_FORWARDER_H_
OLDNEW
« no previous file with comments | « no previous file | tools/android/forwarder2/forwarder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698