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

Unified Diff: components/offline_pages/request_header/BUILD.gn

Issue 2337363002: Load live version when reloading an offline page on connected network (Closed)
Patch Set: Created 4 years, 3 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/request_header/BUILD.gn
diff --git a/components/link_header_util/BUILD.gn b/components/offline_pages/request_header/BUILD.gn
similarity index 51%
copy from components/link_header_util/BUILD.gn
copy to components/offline_pages/request_header/BUILD.gn
index 6faef62389c66f9acdb0307557204d8924d368c6..37dcb8a2df55148965f381b9051d71b3416c6ad5 100644
--- a/components/link_header_util/BUILD.gn
+++ b/components/offline_pages/request_header/BUILD.gn
@@ -2,28 +2,32 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("link_header_util") {
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
+# GYP: //components/offline_pages.gypi:request_header
+static_library("request_header") {
sources = [
- "link_header_util.cc",
- "link_header_util.h",
+ "offline_page_header.cc",
+ "offline_page_header.h",
]
deps = [
"//base",
- "//net",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "link_header_util_unittest.cc",
+ "offline_page_header_unittest.cc",
]
deps = [
- ":link_header_util",
+ ":request_header",
"//base",
- "//net",
+ "//base/test:test_support",
"//testing/gtest",
]
}

Powered by Google App Engine
This is Rietveld 408576698