summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r--net/http/http_cache.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 0c2dc35..2ff5eff 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -1,4 +1,6 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011, Code Aurora Forum. All rights reserved
+
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -88,7 +90,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// |callback| because the object can be deleted from within the callback.
virtual int CreateBackend(NetLog* net_log,
disk_cache::Backend** backend,
- CompletionCallback* callback) = 0;
+ CompletionCallback* callback,
+ FilePath** stat_db_path) = 0;
};
// A default backend factory for the common use cases.
@@ -107,7 +110,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// BackendFactory implementation.
virtual int CreateBackend(NetLog* net_log,
disk_cache::Backend** backend,
- CompletionCallback* callback);
+ CompletionCallback* callback,
+ FilePath** stat_db_path);
private:
CacheType type_;
@@ -378,6 +382,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
scoped_ptr<PlaybackCacheMap> playback_cache_map_;
+ FilePath* stat_db_path_;
+
DISALLOW_COPY_AND_ASSIGN(HttpCache);
};