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

Unified Diff: content/renderer/battery_status/battery_status_dispatcher.h

Issue 768113006: Resurrect battery_status_dispatcher_unittest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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 | « content/content_tests.gypi ('k') | content/renderer/battery_status/battery_status_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/battery_status/battery_status_dispatcher.h
diff --git a/content/renderer/battery_status/battery_status_dispatcher.h b/content/renderer/battery_status/battery_status_dispatcher.h
index edd6453e63c5ff3e010a176caf2df57f2da4d4bd..23f3673dbc5f8fb8ba69fe3de6a87e6a0c3a4c3f 100644
--- a/content/renderer/battery_status/battery_status_dispatcher.h
+++ b/content/renderer/battery_status/battery_status_dispatcher.h
@@ -23,12 +23,11 @@ class CONTENT_EXPORT BatteryStatusDispatcher
~BatteryStatusDispatcher() override;
private:
+ friend class BatteryStatusDispatcherTest;
+
// BatteryStatusObserver method.
void DidChange(device::BatteryStatusPtr battery_status) override;
- void Start();
- void Stop();
-
device::BatteryMonitorPtr monitor_;
blink::WebBatteryStatusListener* listener_;
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/battery_status/battery_status_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698