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

Side by Side Diff: webkit/browser/appcache/appcache_test_helper.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
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 #include "webkit/browser/appcache/appcache_test_helper.h" 5 #include "webkit/browser/appcache/appcache_test_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "webkit/browser/appcache/appcache.h" 11 #include "webkit/browser/appcache/appcache.h"
12 #include "webkit/browser/appcache/appcache_entry.h" 12 #include "webkit/browser/appcache/appcache_entry.h"
13 #include "webkit/browser/appcache/appcache_group.h" 13 #include "webkit/browser/appcache/appcache_group.h"
14 #include "webkit/browser/appcache/appcache_service.h" 14 #include "webkit/browser/appcache/appcache_service.h"
15 15
16 namespace appcache { 16 namespace appcache {
17 17
18 AppCacheTestHelper::AppCacheTestHelper() 18 AppCacheTestHelper::AppCacheTestHelper()
19 : group_id_(0), 19 : group_id_(0),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 origins_->clear(); 71 origins_->clear();
72 for (InfoByOrigin::const_iterator origin = 72 for (InfoByOrigin::const_iterator origin =
73 appcache_info_->infos_by_origin.begin(); 73 appcache_info_->infos_by_origin.begin();
74 origin != appcache_info_->infos_by_origin.end(); ++origin) { 74 origin != appcache_info_->infos_by_origin.end(); ++origin) {
75 origins_->insert(origin->first); 75 origins_->insert(origin->first);
76 } 76 }
77 base::MessageLoop::current()->Quit(); 77 base::MessageLoop::current()->Quit();
78 } 78 }
79 79
80 } // namespace appcache 80 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/browser/appcache/appcache_storage_unittest.cc ('k') | webkit/browser/appcache/appcache_update_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698