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

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

Issue 2811813002: [Offline Pages] Set up the initial prefetching service. (Closed)
Patch Set: fix compile >:-( 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
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
new file mode 100644
index 0000000000000000000000000000000000000000..87db969a9285f9c60935c368a5f7c4c36815cb9b
--- /dev/null
+++ b/components/offline_pages/core/prefetch/BUILD.gn
@@ -0,0 +1,36 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
+static_library("prefetch") {
+ sources = [
+ "prefetch_service.h",
+ "prefetch_service_impl.cc",
+ "prefetch_service_impl.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/keyed_service/core",
+ "//components/offline_pages/core",
+ "//url",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "prefetch_service_impl_unittest.cc",
+ ]
+
+ deps = [
+ ":prefetch",
+ "//components/offline_pages/core",
+ "//testing/gtest",
+ "//url",
+ ]
+}
« no previous file with comments | « components/offline_pages/core/client_policy_controller.cc ('k') | components/offline_pages/core/prefetch/prefetch_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698