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

Side by Side Diff: net/filter/source_stream.h

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « net/dns/mdns_client_impl.h ('k') | net/ftp/ftp_network_transaction.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 NET_FILTER_SOURCE_STREAM_H_ 5 #ifndef NET_FILTER_SOURCE_STREAM_H_
6 #define NET_FILTER_SOURCE_STREAM_H_ 6 #define NET_FILTER_SOURCE_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
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 "net/base/completion_callback.h" 13 #include "net/base/completion_callback.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "net/base/net_export.h"
15 16
16 namespace net { 17 namespace net {
17 18
18 class IOBuffer; 19 class IOBuffer;
19 20
20 // The SourceStream class implements a producer of bytes. 21 // The SourceStream class implements a producer of bytes.
21 class NET_EXPORT_PRIVATE SourceStream { 22 class NET_EXPORT_PRIVATE SourceStream {
22 public: 23 public:
23 enum SourceType { 24 enum SourceType {
24 #define SOURCE_STREAM_TYPE(label) TYPE_##label, 25 #define SOURCE_STREAM_TYPE(label) TYPE_##label,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 private: 59 private:
59 SourceType type_; 60 SourceType type_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(SourceStream); 62 DISALLOW_COPY_AND_ASSIGN(SourceStream);
62 }; 63 };
63 64
64 } // namespace net 65 } // namespace net
65 66
66 #endif // NET_FILTER_SOURCE_STREAM_H_ 67 #endif // NET_FILTER_SOURCE_STREAM_H_
OLDNEW
« no previous file with comments | « net/dns/mdns_client_impl.h ('k') | net/ftp/ftp_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698