OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/files/file_util.h" |
7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "content/browser/appcache/appcache_database.h" | 9 #include "content/browser/appcache/appcache_database.h" |
10 #include "content/browser/appcache/appcache_entry.h" | 10 #include "content/browser/appcache/appcache_entry.h" |
11 #include "sql/connection.h" | 11 #include "sql/connection.h" |
12 #include "sql/meta_table.h" | 12 #include "sql/meta_table.h" |
13 #include "sql/statement.h" | 13 #include "sql/statement.h" |
14 #include "sql/test/scoped_error_ignorer.h" | 14 #include "sql/test/scoped_error_ignorer.h" |
15 #include "sql/test/test_helpers.h" | 15 #include "sql/test/test_helpers.h" |
16 #include "sql/transaction.h" | 16 #include "sql/transaction.h" |
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 EXPECT_EQ(expected_namespace_url, fallbacks[i].namespace_.namespace_url); | 1201 EXPECT_EQ(expected_namespace_url, fallbacks[i].namespace_.namespace_url); |
1202 EXPECT_EQ(expected_target_url, fallbacks[i].namespace_.target_url); | 1202 EXPECT_EQ(expected_target_url, fallbacks[i].namespace_.target_url); |
1203 EXPECT_FALSE(fallbacks[i].namespace_.is_pattern); | 1203 EXPECT_FALSE(fallbacks[i].namespace_.is_pattern); |
1204 EXPECT_EQ(expected_whitelist_url, whitelists[i].namespace_url); | 1204 EXPECT_EQ(expected_whitelist_url, whitelists[i].namespace_url); |
1205 EXPECT_FALSE(whitelists[i].is_pattern); | 1205 EXPECT_FALSE(whitelists[i].is_pattern); |
1206 } | 1206 } |
1207 } | 1207 } |
1208 #endif // !APPCACHE_USE_SIMPLE_CACHE | 1208 #endif // !APPCACHE_USE_SIMPLE_CACHE |
1209 | 1209 |
1210 } // namespace content | 1210 } // namespace content |
OLD | NEW |