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

Side by Side Diff: webkit/browser/appcache/appcache_group.cc

Issue 19633002: Use a direct include of the message_loop header in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « no previous file | webkit/browser/appcache/appcache_group_unittest.cc » ('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) 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 #include "webkit/browser/appcache/appcache_group.h" 5 #include "webkit/browser/appcache/appcache_group.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "webkit/browser/appcache/appcache.h" 12 #include "webkit/browser/appcache/appcache.h"
13 #include "webkit/browser/appcache/appcache_host.h" 13 #include "webkit/browser/appcache/appcache_host.h"
14 #include "webkit/browser/appcache/appcache_service.h" 14 #include "webkit/browser/appcache/appcache_service.h"
15 #include "webkit/browser/appcache/appcache_storage.h" 15 #include "webkit/browser/appcache/appcache_storage.h"
16 #include "webkit/browser/appcache/appcache_update_job.h" 16 #include "webkit/browser/appcache/appcache_update_job.h"
17 17
18 namespace appcache { 18 namespace appcache {
19 19
20 class AppCacheGroup; 20 class AppCacheGroup;
21 21
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // deletion by adding an extra ref in this scope (but only if we're not 255 // deletion by adding an extra ref in this scope (but only if we're not
256 // in our destructor). 256 // in our destructor).
257 scoped_refptr<AppCacheGroup> protect(is_in_dtor_ ? NULL : this); 257 scoped_refptr<AppCacheGroup> protect(is_in_dtor_ ? NULL : this);
258 FOR_EACH_OBSERVER(UpdateObserver, observers_, OnUpdateComplete(this)); 258 FOR_EACH_OBSERVER(UpdateObserver, observers_, OnUpdateComplete(this));
259 if (!queued_updates_.empty()) 259 if (!queued_updates_.empty())
260 ScheduleUpdateRestart(kUpdateRestartDelayMs); 260 ScheduleUpdateRestart(kUpdateRestartDelayMs);
261 } 261 }
262 } 262 }
263 263
264 } // namespace appcache 264 } // namespace appcache
OLDNEW
« no previous file with comments | « no previous file | webkit/browser/appcache/appcache_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698