Commit 7256d7f2 authored by ke.he's avatar ke.he Committed by Commit bot

Remove unnecessary "export" in PowerMonitorBroadcastSource

No need to export PowerMonitorBroadcastSource.

BUG = 647247

Review-Url: https://codereview.chromium.org/2565293002
Cr-Commit-Position: refs/heads/master@{#437859}
parent e7fd9406
...@@ -6,13 +6,10 @@ import("//build/config/features.gni") ...@@ -6,13 +6,10 @@ import("//build/config/features.gni")
source_set("cpp") { source_set("cpp") {
sources = [ sources = [
"//device/power_monitor/power_monitor_export.h",
"power_monitor_broadcast_source.cc", "power_monitor_broadcast_source.cc",
"power_monitor_broadcast_source.h", "power_monitor_broadcast_source.h",
] ]
defines = [ "DEVICE_POWER_MONITOR_IMPLEMENTATION" ]
deps = [ deps = [
"//base", "//base",
"//mojo/public/cpp/bindings", "//mojo/public/cpp/bindings",
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/power_monitor/power_monitor_source.h" #include "base/power_monitor/power_monitor_source.h"
#include "device/power_monitor/power_monitor_export.h"
#include "device/power_monitor/public/interfaces/power_monitor.mojom.h" #include "device/power_monitor/public/interfaces/power_monitor.mojom.h"
#include "mojo/public/cpp/bindings/binding.h" #include "mojo/public/cpp/bindings/binding.h"
#include "services/service_manager/public/cpp/interface_provider.h" #include "services/service_manager/public/cpp/interface_provider.h"
...@@ -16,9 +15,8 @@ namespace device { ...@@ -16,9 +15,8 @@ namespace device {
// Receives state changes from Power Monitor through mojo, and relays them to // Receives state changes from Power Monitor through mojo, and relays them to
// the PowerMonitor of the current process. // the PowerMonitor of the current process.
class DEVICE_POWER_MONITOR_EXPORT PowerMonitorBroadcastSource class PowerMonitorBroadcastSource : public base::PowerMonitorSource,
: public base::PowerMonitorSource, public device::mojom::PowerMonitorClient {
NON_EXPORTED_BASE(public device::mojom::PowerMonitorClient) {
public: public:
explicit PowerMonitorBroadcastSource( explicit PowerMonitorBroadcastSource(
service_manager::InterfaceProvider* interface_provider); service_manager::InterfaceProvider* interface_provider);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment