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

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

Issue 2366893002: net: address review comments for NetLogWithSource renaming (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/host_resolver_impl.h ('k') | net/http/bidirectional_stream_impl.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 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 // Filter performs filtering on data streams. Sample usage: 5 // Filter performs filtering on data streams. Sample usage:
6 // 6 //
7 // IStream* pre_filter_source; 7 // IStream* pre_filter_source;
8 // ... 8 // ...
9 // std::unique_ptr<Filter> filter = Filter::Factory(filter_type, size); 9 // std::unique_ptr<Filter> filter = Filter::Factory(filter_type, size);
10 // int pre_filter_data_len = filter->stream_buffer_size(); 10 // int pre_filter_data_len = filter->stream_buffer_size();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "base/macros.h" 56 #include "base/macros.h"
57 #include "base/memory/ref_counted.h" 57 #include "base/memory/ref_counted.h"
58 #include "base/time/time.h" 58 #include "base/time/time.h"
59 #include "net/base/net_export.h" 59 #include "net/base/net_export.h"
60 #include "net/base/sdch_manager.h" 60 #include "net/base/sdch_manager.h"
61 61
62 class GURL; 62 class GURL;
63 63
64 namespace net { 64 namespace net {
65 65
66 class IOBuffer;
66 class NetLogWithSource; 67 class NetLogWithSource;
67 class IOBuffer;
68 class URLRequestContext; 68 class URLRequestContext;
69 69
70 //------------------------------------------------------------------------------ 70 //------------------------------------------------------------------------------
71 // Define an interface class that allows access to contextual information 71 // Define an interface class that allows access to contextual information
72 // supplied by the owner of this filter. In the case where there are a chain of 72 // supplied by the owner of this filter. In the case where there are a chain of
73 // filters, there is only one owner of all the chained filters, and that context 73 // filters, there is only one owner of all the chained filters, and that context
74 // is passed to the constructor of all those filters. To be clear, the context 74 // is passed to the constructor of all those filters. To be clear, the context
75 // does NOT reflect the position in a chain, or the fact that there are prior 75 // does NOT reflect the position in a chain, or the fact that there are prior
76 // or later filters in a chain. 76 // or later filters in a chain.
77 // 77 //
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 // The filter type this filter was constructed from. 323 // The filter type this filter was constructed from.
324 FilterType type_id_; 324 FilterType type_id_;
325 325
326 DISALLOW_COPY_AND_ASSIGN(Filter); 326 DISALLOW_COPY_AND_ASSIGN(Filter);
327 }; 327 };
328 328
329 } // namespace net 329 } // namespace net
330 330
331 #endif // NET_FILTER_FILTER_H__ 331 #endif // NET_FILTER_FILTER_H__
OLDNEW
« no previous file with comments | « net/dns/host_resolver_impl.h ('k') | net/http/bidirectional_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698