| OLD | NEW |
| 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 <stack> | 5 #include <stack> |
| 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/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "base/synchronization/waitable_event.h" |
| 11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 12 #include "base/synchronization/waitable_event.h" | |
| 13 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 #include "webkit/appcache/appcache.h" | 15 #include "webkit/appcache/appcache.h" |
| 16 #include "webkit/appcache/appcache_database.h" | 16 #include "webkit/appcache/appcache_database.h" |
| 17 #include "webkit/appcache/appcache_entry.h" | 17 #include "webkit/appcache/appcache_entry.h" |
| 18 #include "webkit/appcache/appcache_group.h" | 18 #include "webkit/appcache/appcache_group.h" |
| 19 #include "webkit/appcache/appcache_service.h" | 19 #include "webkit/appcache/appcache_service.h" |
| 20 #include "webkit/appcache/appcache_storage_impl.h" | 20 #include "webkit/appcache/appcache_storage_impl.h" |
| 21 #include "webkit/quota/quota_manager.h" | 21 #include "webkit/browser/quota/quota_manager.h" |
| 22 | 22 |
| 23 namespace appcache { | 23 namespace appcache { |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| 26 | 26 |
| 27 const base::Time kZeroTime; | 27 const base::Time kZeroTime; |
| 28 const GURL kManifestUrl("http://blah/manifest"); | 28 const GURL kManifestUrl("http://blah/manifest"); |
| 29 const GURL kManifestUrl2("http://blah/manifest2"); | 29 const GURL kManifestUrl2("http://blah/manifest2"); |
| 30 const GURL kManifestUrl3("http://blah/manifest3"); | 30 const GURL kManifestUrl3("http://blah/manifest3"); |
| 31 const GURL kEntryUrl("http://blah/entry"); | 31 const GURL kEntryUrl("http://blah/entry"); |
| (...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 } | 1619 } |
| 1620 | 1620 |
| 1621 TEST_F(AppCacheStorageImplTest, FindFallbackPatternMatchInDatabase) { | 1621 TEST_F(AppCacheStorageImplTest, FindFallbackPatternMatchInDatabase) { |
| 1622 RunTestOnIOThread( | 1622 RunTestOnIOThread( |
| 1623 &AppCacheStorageImplTest::FindFallbackPatternMatchInDatabase); | 1623 &AppCacheStorageImplTest::FindFallbackPatternMatchInDatabase); |
| 1624 } | 1624 } |
| 1625 | 1625 |
| 1626 // That's all folks! | 1626 // That's all folks! |
| 1627 | 1627 |
| 1628 } // namespace appcache | 1628 } // namespace appcache |
| OLD | NEW |