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

Unified Diff: components/download/internal/scheduler/battery_listener_unittest.cc

Issue 2888433004: scheduler: Put unit test code in anonymous namespace. (Closed)
Patch Set: 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/network_listener_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/download/internal/scheduler/battery_listener_unittest.cc
diff --git a/components/download/internal/scheduler/battery_listener_unittest.cc b/components/download/internal/scheduler/battery_listener_unittest.cc
index 02a87afde1e83b33d27883b636d3ffb42c633740..3ddacffbf1060046f8fb6192885af8cd17c467d8 100644
--- a/components/download/internal/scheduler/battery_listener_unittest.cc
+++ b/components/download/internal/scheduler/battery_listener_unittest.cc
@@ -11,6 +11,7 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace download {
+namespace {
using BatteryRequirements = SchedulingParams::BatteryRequirements;
@@ -69,4 +70,5 @@ TEST_F(BatteryListenerTest, NotifyObservers) {
listener_->Stop();
};
+} // namespace
} // namespace download
« no previous file with comments | « no previous file | components/download/internal/scheduler/network_listener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698