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

Side by Side Diff: content/browser/appcache/chrome_appcache_service_unittest.cc

Issue 19532003: Use a direct include of the message_loop header in content/, 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) 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "content/browser/appcache/chrome_appcache_service.h" 10 #include "content/browser/appcache/chrome_appcache_service.h"
11 #include "content/browser/browser_thread_impl.h" 11 #include "content/browser/browser_thread_impl.h"
12 #include "content/public/browser/resource_context.h" 12 #include "content/public/browser/resource_context.h"
13 #include "content/public/test/test_browser_context.h" 13 #include "content/public/test/test_browser_context.h"
14 #include "net/url_request/url_request_context_getter.h" 14 #include "net/url_request/url_request_context_getter.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "webkit/browser/appcache/appcache_database.h" 16 #include "webkit/browser/appcache/appcache_database.h"
17 #include "webkit/browser/appcache/appcache_storage_impl.h" 17 #include "webkit/browser/appcache/appcache_storage_impl.h"
18 #include "webkit/browser/appcache/appcache_test_helper.h" 18 #include "webkit/browser/appcache/appcache_test_helper.h"
19 #include "webkit/browser/quota/mock_special_storage_policy.h" 19 #include "webkit/browser/quota/mock_special_storage_policy.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 EXPECT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) != origins.end()); 217 EXPECT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) != origins.end());
218 EXPECT_TRUE(origins.find(kSessionOnlyManifestURL.GetOrigin()) != 218 EXPECT_TRUE(origins.find(kSessionOnlyManifestURL.GetOrigin()) !=
219 origins.end()); 219 origins.end());
220 220
221 // Delete and let cleanup tasks run prior to returning. 221 // Delete and let cleanup tasks run prior to returning.
222 appcache_service = NULL; 222 appcache_service = NULL;
223 message_loop_.RunUntilIdle(); 223 message_loop_.RunUntilIdle();
224 } 224 }
225 225
226 } // namespace content 226 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_impl.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698