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

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

Issue 7616019: Reorganize chrome/test, part #9 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/scoped_temp_dir.h" 8 #include "base/scoped_temp_dir.h"
9 #include "chrome/test/testing_browser_process.h" 9 #include "chrome/test/base/testing_browser_process.h"
10 #include "chrome/test/testing_browser_process_test.h" 10 #include "chrome/test/base/testing_browser_process_test.h"
11 #include "content/browser/appcache/chrome_appcache_service.h" 11 #include "content/browser/appcache/chrome_appcache_service.h"
12 #include "content/browser/browser_thread.h" 12 #include "content/browser/browser_thread.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "webkit/appcache/appcache_database.h" 14 #include "webkit/appcache/appcache_database.h"
15 #include "webkit/appcache/appcache_storage_impl.h" 15 #include "webkit/appcache/appcache_storage_impl.h"
16 #include "webkit/appcache/appcache_test_helper.h" 16 #include "webkit/appcache/appcache_test_helper.h"
17 #include "webkit/quota/mock_special_storage_policy.h" 17 #include "webkit/quota/mock_special_storage_policy.h"
18 18
19 #include <set> 19 #include <set>
20 20
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 EXPECT_EQ(1UL, origins.size()); 170 EXPECT_EQ(1UL, origins.size());
171 EXPECT_TRUE(origins.find(kProtectedManifestURL.GetOrigin()) != origins.end()); 171 EXPECT_TRUE(origins.find(kProtectedManifestURL.GetOrigin()) != origins.end());
172 EXPECT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) == origins.end()); 172 EXPECT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) == origins.end());
173 173
174 // Delete and let cleanup tasks run prior to returning. 174 // Delete and let cleanup tasks run prior to returning.
175 appcache_service = NULL; 175 appcache_service = NULL;
176 message_loop_.RunAllPending(); 176 message_loop_.RunAllPending();
177 } 177 }
178 178
179 } // namespace appcache 179 } // namespace appcache
OLDNEW
« no previous file with comments | « chrome/test/testing_browser_process_test.h ('k') | content/browser/browser_url_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698