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

Unified Diff: components/offline_pages/BUILD.gn

Issue 1160283003: [Offline] Creates metadata store interface for offline pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@offline-pages-1
Patch Set: Removing Destroy, simplifying callbacks Created 5 years, 6 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/BUILD.gn
diff --git a/components/offline_pages/BUILD.gn b/components/offline_pages/BUILD.gn
index 17c32e99222c0ae2eaad88a30f5c75c703febb18..e4de8ccce111ecf213dd4f42ed1a99585bb826df 100644
--- a/components/offline_pages/BUILD.gn
+++ b/components/offline_pages/BUILD.gn
@@ -2,11 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP: //components/offline_pages.gypi:offline_pages'
+# GYP: //components/offline_pages.gypi:offline_pages
static_library("offline_pages") {
sources = [
"offline_page_item.cc",
"offline_page_item.h",
+ "offline_page_metadata_store.cc",
+ "offline_page_metadata_store.h",
"offline_page_model.cc",
"offline_page_model.h",
]
@@ -18,3 +20,15 @@ static_library("offline_pages") {
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "offline_page_model_unittest.cc",
+ ]
+
+ deps = [
+ ":offline_pages",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698