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

Unified Diff: components/offline_pages/core/prefetch/BUILD.gn

Issue 2856793002: [Offline Prefetch] Prefetch request fetcher (Closed)
Patch Set: Address feedback Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/offline_pages/core/prefetch/prefetch_request_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/prefetch/BUILD.gn
diff --git a/components/offline_pages/core/prefetch/BUILD.gn b/components/offline_pages/core/prefetch/BUILD.gn
index 87db969a9285f9c60935c368a5f7c4c36815cb9b..85d9fcba5f06856bec8809f4051056e683447ded 100644
--- a/components/offline_pages/core/prefetch/BUILD.gn
+++ b/components/offline_pages/core/prefetch/BUILD.gn
@@ -8,6 +8,8 @@ if (is_android) {
static_library("prefetch") {
sources = [
+ "prefetch_request_fetcher.cc",
+ "prefetch_request_fetcher.h",
"prefetch_service.h",
"prefetch_service_impl.cc",
"prefetch_service_impl.h",
@@ -17,6 +19,7 @@ static_library("prefetch") {
"//base",
"//components/keyed_service/core",
"//components/offline_pages/core",
+ "//net:net",
"//url",
]
}
@@ -24,12 +27,15 @@ static_library("prefetch") {
source_set("unit_tests") {
testonly = true
sources = [
+ "prefetch_request_fetcher_unittest.cc",
"prefetch_service_impl_unittest.cc",
]
deps = [
":prefetch",
"//components/offline_pages/core",
+ "//net:test_support",
+ "//testing/gmock",
"//testing/gtest",
"//url",
]
« no previous file with comments | « no previous file | components/offline_pages/core/prefetch/prefetch_request_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698