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

Side by Side Diff: net/http/http_cache.h

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 3 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/dns/watching_file_reader.cc ('k') | net/http/http_cache.cc » ('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 // This file declares a HttpTransactionFactory implementation that can be 5 // This file declares a HttpTransactionFactory implementation that can be
6 // layered on top of another HttpTransactionFactory to add HTTP caching. The 6 // layered on top of another HttpTransactionFactory to add HTTP caching. The
7 // caching logic follows RFC 2616 (any exceptions are called out in the code). 7 // caching logic follows RFC 2616 (any exceptions are called out in the code).
8 // 8 //
9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for 9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for
10 // the cache storage. 10 // the cache storage.
11 // 11 //
12 // See HttpTransactionFactory and HttpTransaction for more details. 12 // See HttpTransactionFactory and HttpTransaction for more details.
13 13
14 #ifndef NET_HTTP_HTTP_CACHE_H_ 14 #ifndef NET_HTTP_HTTP_CACHE_H_
15 #define NET_HTTP_HTTP_CACHE_H_ 15 #define NET_HTTP_HTTP_CACHE_H_
16 #pragma once 16 #pragma once
17 17
18 #include <list> 18 #include <list>
19 #include <set> 19 #include <set>
20 #include <string> 20 #include <string>
21 21
22 #include "base/basictypes.h" 22 #include "base/basictypes.h"
23 #include "base/file_path.h" 23 #include "base/file_path.h"
24 #include "base/hash_tables.h" 24 #include "base/hash_tables.h"
25 #include "base/memory/scoped_ptr.h" 25 #include "base/memory/scoped_ptr.h"
26 #include "base/memory/weak_ptr.h" 26 #include "base/memory/weak_ptr.h"
27 #include "base/message_loop_proxy.h" 27 #include "base/message_loop_proxy.h"
28 #include "base/task.h" 28 #include "base/task.h"
29 #include "base/time.h"
29 #include "base/threading/non_thread_safe.h" 30 #include "base/threading/non_thread_safe.h"
30 #include "net/base/cache_type.h" 31 #include "net/base/cache_type.h"
31 #include "net/base/completion_callback.h" 32 #include "net/base/completion_callback.h"
32 #include "net/base/load_states.h" 33 #include "net/base/load_states.h"
33 #include "net/base/net_export.h" 34 #include "net/base/net_export.h"
34 #include "net/http/http_transaction_factory.h" 35 #include "net/http/http_transaction_factory.h"
35 36
36 class GURL; 37 class GURL;
37 38
38 namespace disk_cache { 39 namespace disk_cache {
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 ScopedRunnableMethodFactory<HttpCache> task_factory_; 382 ScopedRunnableMethodFactory<HttpCache> task_factory_;
382 383
383 scoped_ptr<PlaybackCacheMap> playback_cache_map_; 384 scoped_ptr<PlaybackCacheMap> playback_cache_map_;
384 385
385 DISALLOW_COPY_AND_ASSIGN(HttpCache); 386 DISALLOW_COPY_AND_ASSIGN(HttpCache);
386 }; 387 };
387 388
388 } // namespace net 389 } // namespace net
389 390
390 #endif // NET_HTTP_HTTP_CACHE_H_ 391 #endif // NET_HTTP_HTTP_CACHE_H_
OLDNEW
« no previous file with comments | « net/dns/watching_file_reader.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698