OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/offline_pages/core/prefetch/prefetch_service_impl.h" |
| 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "url/gurl.h" |
| 9 |
| 10 namespace offline_pages { |
| 11 |
| 12 TEST(PrefetchServiceTest, ServiceDoesNotCrash) { |
| 13 PrefetchServiceImpl service; |
| 14 |
| 15 service.OnNewURLsToPrefetch(std::vector<GURL>()); |
| 16 service.RemoveAllUnprocessedURLsToPrefetch(); |
| 17 } |
| 18 |
| 19 } // namespace offline_pages |
OLD | NEW |