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

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

Issue 10207020: Workaround for a crashing appcache bug seen on the crash servers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UPDATE_JOB_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_UPDATE_JOB_H_
6 #define WEBKIT_APPCACHE_APPCACHE_UPDATE_JOB_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_UPDATE_JOB_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void ClearPendingMasterEntries(); 228 void ClearPendingMasterEntries();
229 void DiscardInprogressCache(); 229 void DiscardInprogressCache();
230 void DiscardDuplicateResponses(); 230 void DiscardDuplicateResponses();
231 231
232 // Deletes this object after letting the stack unwind. 232 // Deletes this object after letting the stack unwind.
233 void DeleteSoon(); 233 void DeleteSoon();
234 234
235 bool IsTerminating() { return internal_state_ >= REFETCH_MANIFEST || 235 bool IsTerminating() { return internal_state_ >= REFETCH_MANIFEST ||
236 stored_state_ != UNSTORED; } 236 stored_state_ != UNSTORED; }
237 237
238 GURL manifest_url_; // here for easier access
239 AppCacheService* service_; 238 AppCacheService* service_;
239 const GURL manifest_url_; // here for easier access
240 240
241 scoped_refptr<AppCache> inprogress_cache_; 241 scoped_refptr<AppCache> inprogress_cache_;
242 242
243 AppCacheGroup* group_; 243 AppCacheGroup* group_;
244 244
245 UpdateType update_type_; 245 UpdateType update_type_;
246 InternalUpdateState internal_state_; 246 InternalUpdateState internal_state_;
247 247
248 PendingMasters pending_master_entries_; 248 PendingMasters pending_master_entries_;
249 size_t master_entries_completed_; 249 size_t master_entries_completed_;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 StoredState stored_state_; 300 StoredState stored_state_;
301 301
302 FRIEND_TEST_ALL_PREFIXES(AppCacheGroupTest, QueueUpdate); 302 FRIEND_TEST_ALL_PREFIXES(AppCacheGroupTest, QueueUpdate);
303 303
304 DISALLOW_COPY_AND_ASSIGN(AppCacheUpdateJob); 304 DISALLOW_COPY_AND_ASSIGN(AppCacheUpdateJob);
305 }; 305 };
306 306
307 } // namespace appcache 307 } // namespace appcache
308 308
309 #endif // WEBKIT_APPCACHE_APPCACHE_UPDATE_JOB_H_ 309 #endif // WEBKIT_APPCACHE_APPCACHE_UPDATE_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698