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

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

Issue 8949001: Fix some loose ends around recently introduced AppCache INTERCEPT namespaces (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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
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_STORAGE_IMPL_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_
6 #define WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void DeliverShortCircuitedFindMainResponse( 118 void DeliverShortCircuitedFindMainResponse(
119 const GURL& url, 119 const GURL& url,
120 const AppCacheEntry& found_entry, 120 const AppCacheEntry& found_entry,
121 scoped_refptr<AppCacheGroup> group, 121 scoped_refptr<AppCacheGroup> group,
122 scoped_refptr<AppCache> newest_cache, 122 scoped_refptr<AppCache> newest_cache,
123 scoped_refptr<DelegateReference> delegate_ref); 123 scoped_refptr<DelegateReference> delegate_ref);
124 124
125 void CallOnMainResponseFound( 125 void CallOnMainResponseFound(
126 DelegateReferenceVector* delegates, 126 DelegateReferenceVector* delegates,
127 const GURL& url, const AppCacheEntry& entry, 127 const GURL& url, const AppCacheEntry& entry,
128 const GURL& fallback_url, const AppCacheEntry& fallback_entry, 128 const GURL& namespace_entry_url, const AppCacheEntry& fallback_entry,
129 int64 cache_id, int64 group_id, const GURL& manifest_url); 129 int64 cache_id, int64 group_id, const GURL& manifest_url);
130 130
131 APPCACHE_EXPORT AppCacheDiskCache* disk_cache(); 131 APPCACHE_EXPORT AppCacheDiskCache* disk_cache();
132 132
133 // The directory in which we place files in the file system. 133 // The directory in which we place files in the file system.
134 FilePath cache_directory_; 134 FilePath cache_directory_;
135 bool is_incognito_; 135 bool is_incognito_;
136 136
137 // This class operates primarily on the IO thread, but schedules 137 // This class operates primarily on the IO thread, but schedules
138 // its DatabaseTasks on the db thread. Separately, the disk_cache uses 138 // its DatabaseTasks on the db thread. Separately, the disk_cache uses
(...skipping 28 matching lines...) Expand all
167 // any tasks on the background database thread. 167 // any tasks on the background database thread.
168 std::deque<base::Closure> pending_simple_tasks_; 168 std::deque<base::Closure> pending_simple_tasks_;
169 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_; 169 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_;
170 170
171 friend class ChromeAppCacheServiceTest; 171 friend class ChromeAppCacheServiceTest;
172 }; 172 };
173 173
174 } // namespace appcache 174 } // namespace appcache
175 175
176 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ 176 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698