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

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

Issue 2688463003: [chrome.cast.channel] Remove event logging. (Closed)
Patch Set: Fix missing #include 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 DrainableIOBuffer; 23 class DrainableIOBuffer;
24 class GrowableIOBuffer; 24 class GrowableIOBuffer;
25 class Socket; 25 class Socket;
26 } // namespace net 26 } // namespace net
27 27
28 namespace extensions { 28 namespace extensions {
29 namespace api { 29 namespace api {
30 namespace cast_channel { 30 namespace cast_channel {
31 class CastMessage; 31 class CastMessage;
32 class Logger;
33 class MessageFramer; 32 class MessageFramer;
34 33
35 class CastTransport { 34 class CastTransport {
36 public: 35 public:
37 virtual ~CastTransport() {} 36 virtual ~CastTransport() {}
38 37
39 // Object to be informed of incoming messages and read errors. 38 // Object to be informed of incoming messages and read errors.
40 class Delegate { 39 class Delegate {
41 public: 40 public:
42 virtual ~Delegate() {} 41 virtual ~Delegate() {}
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // Accumulates details of events and errors, for debugging purposes. 215 // Accumulates details of events and errors, for debugging purposes.
217 scoped_refptr<Logger> logger_; 216 scoped_refptr<Logger> logger_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); 218 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl);
220 }; 219 };
221 } // namespace cast_channel 220 } // namespace cast_channel
222 } // namespace api 221 } // namespace api
223 } // namespace extensions 222 } // namespace extensions
224 223
225 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ 224 #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