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

Unified Diff: net/http/http_cache.h

Issue 3814013: FBTF: Monster ctor patch after changing heuristics in clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: More add file fail Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ftp/ftp_network_session.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 775d03540cf68e9acb9f8c1a07e323e0f435a9ce..1eeacdde3039b277dce043f325e042411d7e433a 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -96,13 +96,11 @@ class HttpCache : public HttpTransactionFactory,
// |cache_thread| is the thread where disk operations should take place. If
// |max_bytes| is zero, a default value will be calculated automatically.
DefaultBackend(CacheType type, const FilePath& path, int max_bytes,
- base::MessageLoopProxy* thread)
- : type_(type), path_(path), max_bytes_(max_bytes), thread_(thread) {}
+ base::MessageLoopProxy* thread);
+ virtual ~DefaultBackend();
// Returns a factory for an in-memory cache.
- static BackendFactory* InMemory(int max_bytes) {
- return new DefaultBackend(MEMORY_CACHE, FilePath(), max_bytes, NULL);
- }
+ static BackendFactory* InMemory(int max_bytes);
// BackendFactory implementation.
virtual int CreateBackend(disk_cache::Backend** backend,
« no previous file with comments | « net/ftp/ftp_network_session.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698