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

Issue 262773015: Add an UMA metric to track whether chrome is running on a tablet. (Closed)

Created:
6 years, 7 months ago by zturner
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Add an UMA metric to track whether chrome is running on a tablet. BUG=353701 R=cpu@chromium.org, isherman@chromium.org, thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268825

Patch Set 1 #

Patch Set 2 : Add a check for the PowerPlatformRole. #

Total comments: 4

Patch Set 3 : Remove pre-xp codepath. #

Total comments: 2

Patch Set 4 : Fix review issues. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M base/base.gyp View 1 chunk +12 lines, -0 lines 0 comments Download
M base/win/win_util.h View 1 chunk +5 lines, -0 lines 0 comments Download
M base/win/win_util.cc View 1 2 3 2 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
zturner
+cpu for non-owners review first. Can you think of any other edge cases I should ...
6 years, 7 months ago (2014-05-02 20:43:06 UTC) #1
zturner
thakis: base/base.gyp chrome/browser/chrome_browser_main_win.cc cpu: base/win/* isherman: histograms.xml
6 years, 7 months ago (2014-05-05 18:23:54 UTC) #2
Ilya Sherman
histograms lgtm
6 years, 7 months ago (2014-05-05 21:57:54 UTC) #3
cpu_(ooo_6.6-7.5)
lgtm other than that. You need the uma folk review. https://codereview.chromium.org/262773015/diff/20001/base/win/win_util.cc File base/win/win_util.cc (right): https://codereview.chromium.org/262773015/diff/20001/base/win/win_util.cc#newcode242 ...
6 years, 7 months ago (2014-05-06 00:38:46 UTC) #4
zturner
https://codereview.chromium.org/262773015/diff/20001/base/win/win_util.cc File base/win/win_util.cc (right): https://codereview.chromium.org/262773015/diff/20001/base/win/win_util.cc#newcode244 base/win/win_util.cc:244: return (GetSystemMetrics(SM_TABLETPC) != 0); On 2014/05/06 00:38:46, cpu wrote: ...
6 years, 7 months ago (2014-05-06 00:49:35 UTC) #5
Nico
lgtm if cpu likes it
6 years, 7 months ago (2014-05-06 02:49:38 UTC) #6
cpu_(ooo_6.6-7.5)
lgtm w/ nits https://codereview.chromium.org/262773015/diff/40001/base/win/win_util.cc File base/win/win_util.cc (right): https://codereview.chromium.org/262773015/diff/40001/base/win/win_util.cc#newcode250 base/win/win_util.cc:250: bool has_tablet_power_profile = false; seems we ...
6 years, 7 months ago (2014-05-06 19:48:45 UTC) #7
cpu_(ooo_6.6-7.5)
> I would think yes? OK. leave as is.
6 years, 7 months ago (2014-05-06 19:49:25 UTC) #8
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 7 months ago (2014-05-06 20:55:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/262773015/60001
6 years, 7 months ago (2014-05-06 20:56:28 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 03:01:13 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 10:15:49 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-07 11:44:40 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-07 11:44:40 UTC) #14
zturner
6 years, 7 months ago (2014-05-07 16:45:54 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 manually as r268825 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698