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

Issue 466223006: Revert of Battery Status API: implementation for Windows. (Closed)

Created:
6 years, 4 months ago by erikwright (departed)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, fmeawad, cpu_(ooo_6.6-7.5)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of Battery Status API: implementation for Windows. (patchset #5 of https://codereview.chromium.org/447853002/) Reason for revert: Breaks execution on XP. See these telemetry tests, which may be the only thing that actually launch the browser itself on XP: http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%282%29/builds/34947 I manually built and ran on an XP VM and received a message that UnregisterPowerSettingNotification could not be located in user32.dll Original issue's description: > Battery Status API: implementation for Windows. > > Implementation of the Battery Status API for the Windows platform. > Implementation uses a message window to receive battery notifications. > On versions prior to Vista there is limited support as the > RegisterPowerSettingNotification function is not available. > > BUG=122593 > TEST=http://jsbin.com/battery-status-test (manual) > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289634 TBR=mvanouwerkerk@chromium.org,mlamouri@chromium.org,scottmg@chromium.org,cpu@chromium.org,timvolodine@chromium.org NOTREECHECKS=true NOTRY=true BUG=122593

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -316 lines) Patch
D content/browser/battery_status/battery_status_manager_win.h View 1 chunk +0 lines, -26 lines 0 comments Download
D content/browser/battery_status/battery_status_manager_win.cc View 1 chunk +0 lines, -206 lines 0 comments Download
D content/browser/battery_status/battery_status_manager_win_unittest.cc View 1 chunk +0 lines, -80 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +0 lines, -3 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
erikwright (departed)
Created Revert of Battery Status API: implementation for Windows.
6 years, 4 months ago (2014-08-15 19:21:14 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/466223006/1
6 years, 4 months ago (2014-08-15 19:22:33 UTC) #2
erikwright (departed)
The CQ bit was unchecked by erikwright@chromium.org
6 years, 4 months ago (2014-08-15 19:24:30 UTC) #3
scottmg
Wait, there was already a fix landed. On Fri, Aug 15, 2014 at 12:21 PM, ...
6 years, 4 months ago (2014-08-15 19:25:30 UTC) #4
scottmg
Should be OK after http://src.chromium.org/viewvc/chrome?revision=289956&view=revision ? On Fri, Aug 15, 2014 at 12:25 PM, Scott ...
6 years, 4 months ago (2014-08-15 19:26:52 UTC) #5
erikwright (departed)
6 years, 4 months ago (2014-08-15 19:27:41 UTC) #6
Thanks.


On Fri, Aug 15, 2014 at 3:26 PM, Scott Graham <scottmg@chromium.org> wrote:

> Should be OK after
> http://src.chromium.org/viewvc/chrome?revision=289956&view=revision ?
>
>
> On Fri, Aug 15, 2014 at 12:25 PM, Scott Graham <scottmg@chromium.org>
> wrote:
>
>> Wait, there was already a fix landed.
>>
>>
>> On Fri, Aug 15, 2014 at 12:21 PM, <erikwright@chromium.org> wrote:
>>
>>> Reviewers: Michael van Ouwerkerk, Mounir Lamouri, scottmg, cpu (slow to
>>> respond), timvolodine,
>>>
>>> Message:
>>> Created Revert of Battery Status API: implementation for Windows.
>>>
>>> Description:
>>> Revert of Battery Status API: implementation for Windows. (patchset #5 of
>>> https://codereview.chromium.org/447853002/)
>>>
>>> Reason for revert:
>>> Breaks execution on XP. See these telemetry tests, which may be the only
>>> thing
>>> that actually launch the browser itself on XP:
>>>
>>> http://build.chromium.org/p/chromium.win/builders/XP%
>>> 20Tests%20%282%29/builds/34947
>>>
>>> I manually built and ran on an XP VM and received a message that
>>> UnregisterPowerSettingNotification could not be located in user32.dll
>>>
>>> Original issue's description:
>>>
>>>> Battery Status API: implementation for Windows.
>>>>
>>>
>>>  Implementation of the Battery Status API for the Windows platform.
>>>> Implementation uses a message window to receive battery notifications.
>>>> On versions prior to Vista there is limited support as the
>>>> RegisterPowerSettingNotification function is not available.
>>>>
>>>
>>>  BUG=122593
>>>> TEST=http://jsbin.com/battery-status-test (manual)
>>>>
>>>
>>>  Committed: https://src.chromium.org/viewvc/chrome?view=rev&
>>>> revision=289634
>>>>
>>>
>>> TBR=mvanouwerkerk@chromium.org,mlamouri@chromium.org,scottmg
>>> @chromium.org,cpu@chromium.org,timvolodine@chromium.org
>>> NOTREECHECKS=true
>>> NOTRY=true
>>> BUG=122593
>>>
>>> Please review this at https://codereview.chromium.org/466223006/
>>>
>>> SVN Base: https://chromium.googlesource.com/chromium/src.git@master
>>>
>>> Affected files (+0, -316 lines):
>>>   D content/browser/battery_status/battery_status_manager_win.h
>>>   D content/browser/battery_status/battery_status_manager_win.cc
>>>   D content/browser/battery_status/battery_status_manager_
>>> win_unittest.cc
>>>   M content/content_browser.gypi
>>>   M content/content_tests.gypi
>>>
>>>
>>>
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698