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

Side by Side Diff: webkit/appcache/appcache_disk_cache.h

Issue 8086017: add more appcache_exports needed for test_shell_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix weird merge issues Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/appcache/appcache_database.h ('k') | webkit/appcache/appcache_group.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 #ifndef WEBKIT_APPCACHE_APPCACHE_DISK_CACHE_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_DISK_CACHE_H_
6 #define WEBKIT_APPCACHE_APPCACHE_DISK_CACHE_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_DISK_CACHE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "net/disk_cache/disk_cache.h" 12 #include "net/disk_cache/disk_cache.h"
13 #include "webkit/appcache/appcache_export.h"
13 #include "webkit/appcache/appcache_response.h" 14 #include "webkit/appcache/appcache_response.h"
14 15
15 namespace appcache { 16 namespace appcache {
16 17
17 // An implementation of AppCacheDiskCacheInterface that 18 // An implementation of AppCacheDiskCacheInterface that
18 // uses net::DiskCache as the backing store. 19 // uses net::DiskCache as the backing store.
19 class AppCacheDiskCache : public AppCacheDiskCacheInterface { 20 class APPCACHE_EXPORT AppCacheDiskCache
21 : public AppCacheDiskCacheInterface {
20 public: 22 public:
21 AppCacheDiskCache(); 23 AppCacheDiskCache();
22 virtual ~AppCacheDiskCache(); 24 virtual ~AppCacheDiskCache();
23 25
24 // Initializes the object to use disk backed storage. 26 // Initializes the object to use disk backed storage.
25 int InitWithDiskBackend(const FilePath& disk_cache_directory, 27 int InitWithDiskBackend(const FilePath& disk_cache_directory,
26 int disk_cache_size, bool force, 28 int disk_cache_size, bool force,
27 base::MessageLoopProxy* cache_thread, 29 base::MessageLoopProxy* cache_thread,
28 net::CompletionCallback* callback); 30 net::CompletionCallback* callback);
29 31
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 scoped_refptr<CreateBackendCallback> create_backend_callback_; 104 scoped_refptr<CreateBackendCallback> create_backend_callback_;
103 PendingCalls pending_calls_; 105 PendingCalls pending_calls_;
104 ActiveCalls active_calls_; 106 ActiveCalls active_calls_;
105 scoped_ptr<disk_cache::Backend> disk_cache_; 107 scoped_ptr<disk_cache::Backend> disk_cache_;
106 }; 108 };
107 109
108 } // namespace appcache 110 } // namespace appcache
109 111
110 #endif // WEBKIT_APPCACHE_APPCACHE_DISK_CACHE_H_ 112 #endif // WEBKIT_APPCACHE_APPCACHE_DISK_CACHE_H_
111 113
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_database.h ('k') | webkit/appcache/appcache_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698