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

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

Issue 2864293003: [Offline Pages] Add a GCMAppHandler for offline page prefetch. (Closed)
Patch Set: Created 3 years, 7 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/content/prefetch/BUILD.gn
diff --git a/components/offline_pages/content/prefetch/BUILD.gn b/components/offline_pages/content/prefetch/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a600810f2d6fd411f52c0d1d58304e66a1c2f741
--- /dev/null
+++ b/components/offline_pages/content/prefetch/BUILD.gn
@@ -0,0 +1,30 @@
+# 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")
+}
+
+source_set("prefetch") {
+ sources = [
+ "prefetch_gcm_app_handler.cc",
+ "prefetch_gcm_app_handler.h",
+ ]
+
+ deps = [
+ "//base",
+ "//chrome/browser/android",
+ "//components/gcm_driver",
+ "//content/public/browser",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = []
+ deps = [
+ ":prefetch",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698