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

Unified Diff: components/download/internal/BUILD.gn

Issue 2870753003: Add a Model to the download component. (Closed)
Patch Set: Renamed test base class 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
« no previous file with comments | « no previous file | components/download/internal/download_service_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/download/internal/BUILD.gn
diff --git a/components/download/internal/BUILD.gn b/components/download/internal/BUILD.gn
index 1eda30feff52664ddc4344890b02f298c53dadd5..7e35171d0ce03e25f56a00d1e66f2fb9cf6811d6 100644
--- a/components/download/internal/BUILD.gn
+++ b/components/download/internal/BUILD.gn
@@ -11,6 +11,7 @@ static_library("internal") {
visibility = [
":*",
"//components/download",
+ "//components/download/internal/test:test_support",
]
sources = [
@@ -18,10 +19,18 @@ static_library("internal") {
"config.h",
"download_service_impl.cc",
"download_service_impl.h",
+ "entry.cc",
+ "entry.h",
+ "model.h",
+ "model_impl.cc",
+ "model_impl.h",
+ "noop_store.cc",
+ "noop_store.h",
"scheduler/battery_listener.cc",
"scheduler/battery_listener.h",
"scheduler/network_listener.cc",
"scheduler/network_listener.h",
+ "store.h",
]
deps = [
@@ -37,7 +46,7 @@ source_set("unit_tests") {
visibility = [ "//components/download:unit_tests" ]
sources = [
- "download_service_impl_unittest.cc",
+ "model_impl_unittest.cc",
"scheduler/battery_listener_unittest.cc",
"scheduler/network_listener_unittest.cc",
]
@@ -45,6 +54,7 @@ source_set("unit_tests") {
deps = [
":internal",
"//base/test:test_support",
+ "//components/download/internal/test:test_support",
"//testing/gmock",
"//testing/gtest",
]
« no previous file with comments | « no previous file | components/download/internal/download_service_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698