Chromium Code Reviews
DescriptionDecouple PowerUsageMonitor{Impl} from //content/browser
PowerUsageMonitor is currently only used by Chrome and has significant //content
dependencies, to decouple it we just move it to //chrome/browser at the current
time.
The power_usage_monitor.h is deleted as there is no need to export the
StartPowerUsageMonitor interface from chrome any more. We add the
PowerUsageMonitor as a member into the ChromeBrowserMain.
Unittest are also changed accordingly.
BUG=647247
Committed: https://crrev.com/bf45805b20e15b30b0cecad0b9056136fb6d2849
Cr-Commit-Position: refs/heads/master@{#430233}
Patch Set 1 #Patch Set 2 : Decouple PowerUsageMonitor{Impl} from //content/browser #Patch Set 3 : fix chromeOS build failed #
Total comments: 4
Patch Set 4 : add power_usage_monitor as member of ChromBrowserMain #Patch Set 5 : change define position of power_usage_moniter_ in ChromeBrowserMain #
Messages
Total messages: 43 (31 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||