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

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

Issue 446603002: Refactor code listening to platform events in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webkitplatform_impl_start_stop
Patch Set: rebase Created 6 years, 4 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
Index: content/renderer/battery_status/fake_battery_status_dispatcher.h
diff --git a/content/renderer/battery_status/fake_battery_status_dispatcher.h b/content/renderer/battery_status/fake_battery_status_dispatcher.h
deleted file mode 100644
index cddd6d8e5c1d7eb57898c283fb12de43db2a55d4..0000000000000000000000000000000000000000
--- a/content/renderer/battery_status/fake_battery_status_dispatcher.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_BATTERY_STATUS_FAKE_BATTERY_STATUS_DISPATCHER_H_
-#define CONTENT_RENDERER_BATTERY_STATUS_FAKE_BATTERY_STATUS_DISPATCHER_H_
-
-#include "base/macros.h"
-
-namespace blink {
-class WebBatteryStatus;
-class WebBatteryStatusListener;
-}
-
-namespace content {
-
-class FakeBatteryStatusDispatcher {
- public:
- FakeBatteryStatusDispatcher();
-
- void SetListener(blink::WebBatteryStatusListener* listener);
- void PostBatteryStatusChange(const blink::WebBatteryStatus& status);
-
- private:
- blink::WebBatteryStatusListener* listener_;
-
- DISALLOW_COPY_AND_ASSIGN(FakeBatteryStatusDispatcher);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_BATTERY_STATUS_FAKE_BATTERY_STATUS_DISPATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698