summaryrefslogtreecommitdiffstats
path: root/components/offline_pages/BUILD.gn
diff options
context:
space:
mode:
authorfgorski <fgorski@chromium.org>2015-06-10 00:45:04 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-10 07:45:46 +0000
commit2475986c9476407f0cec00d2eb660b480db30aae (patch)
tree57c2e3ed3eb08b44302eafa6952142196bef3ee6 /components/offline_pages/BUILD.gn
parent4d0ac15c70965c05e6905e5bf144cd8decf768c7 (diff)
downloadchromium_src-2475986c9476407f0cec00d2eb660b480db30aae.zip
chromium_src-2475986c9476407f0cec00d2eb660b480db30aae.tar.gz
chromium_src-2475986c9476407f0cec00d2eb660b480db30aae.tar.bz2
[Offline] Creates metadata store interface for offline pages
Offline pages metadata store: * Creates interface for the store * The following actions are available on the store: - AddOfflinePage, - RemoveOfflinePage, - Load, * Updates to the components_unittests to include offline pages BUG=491352 Review URL: https://codereview.chromium.org/1160283003 Cr-Commit-Position: refs/heads/master@{#333697}
Diffstat (limited to 'components/offline_pages/BUILD.gn')
-rw-r--r--components/offline_pages/BUILD.gn16
1 files changed, 15 insertions, 1 deletions
diff --git a/components/offline_pages/BUILD.gn b/components/offline_pages/BUILD.gn
index 17c32e9..e4de8cc 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",
+ ]
+}