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

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

Issue 18054009: Use a direct include of time headers in net/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « net/base/expiring_cache_unittest.cc ('k') | net/base/load_timing_info.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Filter* filter = Filter::Factory(filter_type, size); 9 // 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 18 matching lines...) Expand all
29 #ifndef NET_BASE_FILTER_H__ 29 #ifndef NET_BASE_FILTER_H__
30 #define NET_BASE_FILTER_H__ 30 #define NET_BASE_FILTER_H__
31 31
32 #include <string> 32 #include <string>
33 #include <vector> 33 #include <vector>
34 34
35 #include "base/basictypes.h" 35 #include "base/basictypes.h"
36 #include "base/gtest_prod_util.h" 36 #include "base/gtest_prod_util.h"
37 #include "base/memory/ref_counted.h" 37 #include "base/memory/ref_counted.h"
38 #include "base/memory/scoped_ptr.h" 38 #include "base/memory/scoped_ptr.h"
39 #include "base/time.h" 39 #include "base/time/time.h"
40 #include "net/base/net_export.h" 40 #include "net/base/net_export.h"
41 41
42 class GURL; 42 class GURL;
43 43
44 namespace net { 44 namespace net {
45 45
46 class IOBuffer; 46 class IOBuffer;
47 47
48 //------------------------------------------------------------------------------ 48 //------------------------------------------------------------------------------
49 // Define an interface class that allows access to contextual information 49 // Define an interface class that allows access to contextual information
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // Remember what status or local filter last returned so we can better handle 267 // Remember what status or local filter last returned so we can better handle
268 // chained filters. 268 // chained filters.
269 FilterStatus last_status_; 269 FilterStatus last_status_;
270 270
271 DISALLOW_COPY_AND_ASSIGN(Filter); 271 DISALLOW_COPY_AND_ASSIGN(Filter);
272 }; 272 };
273 273
274 } // namespace net 274 } // namespace net
275 275
276 #endif // NET_BASE_FILTER_H__ 276 #endif // NET_BASE_FILTER_H__
OLDNEW
« no previous file with comments | « net/base/expiring_cache_unittest.cc ('k') | net/base/load_timing_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698