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

Unified Diff: components/offline_pages/content/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
« no previous file with comments | « components/ntp_snippets/content_suggestions_service.h ('k') | components/offline_pages/content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/content/BUILD.gn
diff --git a/components/offline_pages/content/BUILD.gn b/components/offline_pages/content/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..4be39a2699a70b82643448eca27f7e0d5e783791
--- /dev/null
+++ b/components/offline_pages/content/BUILD.gn
@@ -0,0 +1,44 @@
+# Copyright 2015 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("content") {
+ sources = [
+ "prefetch_service_factory.cc",
+ "prefetch_service_factory.h",
+ "suggested_articles_observer.cc",
+ "suggested_articles_observer.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/keyed_service/content",
+ "//components/ntp_snippets",
+ "//components/offline_pages/core",
+ "//components/offline_pages/core:switches",
+ "//components/offline_pages/core/prefetch",
+ "//content/public/browser",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "suggested_articles_observer_unittest.cc",
+ ]
+
+ deps = [
+ ":content",
+ "//base",
+ "//base/test:test_support",
+ "//components/offline_pages/core",
+ "//components/offline_pages/core:test_support",
+ "//content/test:test_support",
+ "//testing/gtest",
+ "//url",
+ ]
+}
« no previous file with comments | « components/ntp_snippets/content_suggestions_service.h ('k') | components/offline_pages/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698