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

Side by Side Diff: extensions/browser/api/cast_channel/cast_transport.h

Issue 2688463003: [chrome.cast.channel] Remove event logging. (Closed)
Patch Set: Respond to kmarshall@ feedback Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_
6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "extensions/browser/api/cast_channel/logger.h" 15 #include "extensions/browser/api/cast_channel/logger.h"
16 #include "extensions/common/api/cast_channel.h" 16 #include "extensions/common/api/cast_channel.h"
17 #include "extensions/common/api/cast_channel/logging.pb.h" 17 #include "extensions/common/api/cast_channel/logging.pb.h"
18 #include "net/base/completion_callback.h" 18 #include "net/base/completion_callback.h"
19 #include "net/base/ip_endpoint.h"
19 20
20 namespace net { 21 namespace net {
21 class DrainableIOBuffer; 22 class DrainableIOBuffer;
22 class IPEndPoint; 23 class IPEndPoint;
Kevin M 2017/02/13 21:55:56 nit: Remove this
23 class DrainableIOBuffer; 24 class DrainableIOBuffer;
24 class GrowableIOBuffer; 25 class GrowableIOBuffer;
25 class Socket; 26 class Socket;
26 } // namespace net 27 } // namespace net
27 28
28 namespace extensions { 29 namespace extensions {
29 namespace api { 30 namespace api {
30 namespace cast_channel { 31 namespace cast_channel {
31 class CastMessage; 32 class CastMessage;
32 class Logger; 33 class Logger;
Kevin M 2017/02/13 21:55:56 Remove this
33 class MessageFramer; 34 class MessageFramer;
34 35
35 class CastTransport { 36 class CastTransport {
36 public: 37 public:
37 virtual ~CastTransport() {} 38 virtual ~CastTransport() {}
38 39
39 // Object to be informed of incoming messages and read errors. 40 // Object to be informed of incoming messages and read errors.
40 class Delegate { 41 class Delegate {
41 public: 42 public:
42 virtual ~Delegate() {} 43 virtual ~Delegate() {}
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // Accumulates details of events and errors, for debugging purposes. 217 // Accumulates details of events and errors, for debugging purposes.
217 scoped_refptr<Logger> logger_; 218 scoped_refptr<Logger> logger_;
218 219
219 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); 220 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl);
220 }; 221 };
221 } // namespace cast_channel 222 } // namespace cast_channel
222 } // namespace api 223 } // namespace api
223 } // namespace extensions 224 } // namespace extensions
224 225
225 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ 226 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket_unittest.cc ('k') | extensions/browser/api/cast_channel/cast_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698