summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-29 03:37:22 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-29 03:37:22 +0000
commit833a4baa2ccf968616d72361a74852c57f911d96 (patch)
tree07ccc3df12e7800ef381dd14ca2bda4e8760aa81 /webkit/appcache/appcache.h
parent5ac84ca4f92eea80f31b5c7a58e41e35657a69ab (diff)
downloadchromium_src-833a4baa2ccf968616d72361a74852c57f911d96.zip
chromium_src-833a4baa2ccf968616d72361a74852c57f911d96.tar.gz
chromium_src-833a4baa2ccf968616d72361a74852c57f911d96.tar.bz2
Revert 35328 - AppCacheDatabase and SQL based AppCacheStorageImpl.
Still nothing is being written to disk with this CL, inmemory SQLite and DiskCaches are being utilized. Responses are not yet being removed from the DiskCasche when the should be. Once that's done (in the next CL), we'll start saving things on disk. BUG=none TEST=appcache_database_unittest.cc, appcache_storage_impl_unittest.cc Review URL: http://codereview.chromium.org/501033 TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/519018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache.h')
-rw-r--r--webkit/appcache/appcache.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/webkit/appcache/appcache.h b/webkit/appcache/appcache.h
index c4446f9..6e43a85 100644
--- a/webkit/appcache/appcache.h
+++ b/webkit/appcache/appcache.h
@@ -14,7 +14,6 @@
#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
-#include "webkit/appcache/appcache_database.h"
#include "webkit/appcache/appcache_entry.h"
#include "webkit/appcache/manifest_parser.h"
@@ -76,22 +75,6 @@ class AppCache : public base::RefCounted<AppCache> {
// Do not use the manifest after this call.
void InitializeWithManifest(Manifest* manifest);
- // Initializes the cache with the information in the database records.
- void InitializeWithDatabaseRecords(
- const AppCacheDatabase::CacheRecord& cache_record,
- const std::vector<AppCacheDatabase::EntryRecord>& entries,
- const std::vector<AppCacheDatabase::FallbackNameSpaceRecord>& fallbacks,
- const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists);
-
- // Returns the database records to be stored in the AppCacheDatabase
- // to represent this cache.
- void ToDatabaseRecords(
- const AppCacheGroup* group,
- AppCacheDatabase::CacheRecord* cache_record,
- std::vector<AppCacheDatabase::EntryRecord>* entries,
- std::vector<AppCacheDatabase::FallbackNameSpaceRecord>* fallbacks,
- std::vector<AppCacheDatabase::OnlineWhiteListRecord>* whitelists);
-
bool FindResponseForRequest(const GURL& url,
AppCacheEntry* found_entry, AppCacheEntry* found_fallback_entry,
GURL* found_fallback_namespace, bool* found_network_namespace);
@@ -99,7 +82,6 @@ class AppCache : public base::RefCounted<AppCache> {
private:
friend class AppCacheGroup;
friend class AppCacheHost;
- friend class AppCacheStorageImplTest;
friend class AppCacheUpdateJobTest;
friend class base::RefCounted<AppCache>;