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

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

Issue 2867073004: Battery listener for download service in native code. (Closed)
Patch Set: Work on feedbacks. 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/scheduler/battery_listener.h » ('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 1e3d1a2e6b6145e2cd0af05d62091614218f1c6d..189bf077e320f3bab2eff07a61b5339d0bf16adc 100644
--- a/components/download/internal/BUILD.gn
+++ b/components/download/internal/BUILD.gn
@@ -18,6 +18,8 @@ static_library("internal") {
"config.h",
"download_service_impl.cc",
"download_service_impl.h",
+ "scheduler/battery_listener.cc",
+ "scheduler/battery_listener.h",
]
deps = [
@@ -33,11 +35,13 @@ source_set("unit_tests") {
sources = [
"download_service_impl_unittest.cc",
+ "scheduler/battery_listener_unittest.cc",
]
deps = [
":internal",
"//base/test:test_support",
+ "//testing/gmock",
"//testing/gtest",
]
}
« no previous file with comments | « no previous file | components/download/internal/scheduler/battery_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698