OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/precache/core/precache_fetcher.h" | 5 #include "components/precache/core/precache_fetcher.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/bind.h" | 11 #include "base/bind.h" |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/command_line.h" | 13 #include "base/command_line.h" |
15 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
16 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
18 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
19 #include "base/test/histogram_tester.h" | 18 #include "base/test/histogram_tester.h" |
20 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
21 #include "components/precache/core/precache_switches.h" | 20 #include "components/precache/core/precache_switches.h" |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 EXPECT_EQ(expected_requested_urls, url_callback_.requested_urls()); | 555 EXPECT_EQ(expected_requested_urls, url_callback_.requested_urls()); |
557 | 556 |
558 EXPECT_TRUE(precache_delegate_.was_on_done_called()); | 557 EXPECT_TRUE(precache_delegate_.was_on_done_called()); |
559 } | 558 } |
560 | 559 |
561 #endif // PRECACHE_MANIFEST_URL_PREFIX | 560 #endif // PRECACHE_MANIFEST_URL_PREFIX |
562 | 561 |
563 } // namespace | 562 } // namespace |
564 | 563 |
565 } // namespace precache | 564 } // namespace precache |
OLD | NEW |