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

Issue 15817008: Move systemInfo.cpu API out out experimental namespace. (Closed)

Created:
7 years, 6 months ago by Tim Song
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, MAD, Ilya Sherman, jar (doing other things), chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move systemInfo.cpu API out out experimental namespace. As a consequence, we move systemInfo.cpu from using the experimental API permissions to its own permission based on an extension whitelist. BUG=237294 TEST=updated unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203537

Patch Set 1 #

Patch Set 2 : #

Total comments: 29

Patch Set 3 : #

Patch Set 4 : Add new enum values rather than renaming existing ones #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -689 lines) Patch
M chrome/browser/extensions/api/system_info/system_info_api.cc View 1 2 3 4 9 chunks +1 line, -33 lines 0 comments Download
M chrome/browser/extensions/api/system_info_cpu/cpu_info_provider.h View 1 2 3 4 2 chunks +1 line, -60 lines 0 comments Download
M chrome/browser/extensions/api/system_info_cpu/cpu_info_provider.cc View 1 2 3 4 2 chunks +2 lines, -113 lines 0 comments Download
D chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_android.cc View 1 2 3 4 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_linux.cc View 1 2 3 4 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_mac.cc View 1 2 3 4 1 chunk +0 lines, -52 lines 0 comments Download
M chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc View 1 2 3 4 4 chunks +2 lines, -215 lines 0 comments Download
D chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_win.cc View 1 2 3 4 1 chunk +0 lines, -71 lines 0 comments Download
M chrome/browser/extensions/api/system_info_cpu/system_info_cpu_apitest.cc View 1 2 3 4 4 chunks +2 lines, -33 lines 0 comments Download
M chrome/browser/extensions/event_names.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/event_names.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/system_info_cpu.idl View 1 2 3 4 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/common/extensions/docs/templates/public/apps/experimental_systemInfo_memory.html View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/extensions/docs/templates/public/extensions/experimental_systemInfo_storage.html View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpu_api.js View 1 2 3 4 2 chunks +0 lines, -23 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Tim Song
Please take a look at this attempt to move this API out of experimental. After ...
7 years, 6 months ago (2013-05-29 17:33:13 UTC) #1
Tim Song
https://codereview.chromium.org/15817008/diff/2001/chrome/common/extensions/permissions/api_permission.h File chrome/common/extensions/permissions/api_permission.h (right): https://codereview.chromium.org/15817008/diff/2001/chrome/common/extensions/permissions/api_permission.h#newcode115 chrome/common/extensions/permissions/api_permission.h:115: kSystemInfoDisplay, There is a kSystemInfoDisplay permission here. Would it ...
7 years, 6 months ago (2013-05-29 18:19:24 UTC) #2
Hongbo Min
Thanks! I found the systmeInfo.cpu.get is limited to only be accessed by whiltelist extension, may ...
7 years, 6 months ago (2013-05-30 11:51:12 UTC) #3
asargent_no_longer_on_chrome
https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h File chrome/browser/extensions/activity_log/api_name_constants.h (right): https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h#newcode85 chrome/browser/extensions/activity_log/api_name_constants.h:85: "systemInfo.cpu.onUpdated", Please see comments at the top of this ...
7 years, 6 months ago (2013-05-30 19:14:00 UTC) #4
Tim Song
https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h File chrome/browser/extensions/activity_log/api_name_constants.h (right): https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h#newcode85 chrome/browser/extensions/activity_log/api_name_constants.h:85: "systemInfo.cpu.onUpdated", On 2013/05/30 19:14:00, Antony Sargent wrote: > Please ...
7 years, 6 months ago (2013-05-31 01:08:34 UTC) #5
asargent_no_longer_on_chrome
https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h File chrome/browser/extensions/activity_log/api_name_constants.h (right): https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h#newcode85 chrome/browser/extensions/activity_log/api_name_constants.h:85: "systemInfo.cpu.onUpdated", On 2013/05/31 01:08:35, tengs wrote: > On 2013/05/30 ...
7 years, 6 months ago (2013-05-31 18:31:31 UTC) #6
Tim Song
https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h File chrome/browser/extensions/activity_log/api_name_constants.h (right): https://codereview.chromium.org/15817008/diff/2001/chrome/browser/extensions/activity_log/api_name_constants.h#newcode85 chrome/browser/extensions/activity_log/api_name_constants.h:85: "systemInfo.cpu.onUpdated", On 2013/05/31 18:31:32, Antony Sargent wrote: > On ...
7 years, 6 months ago (2013-05-31 19:29:02 UTC) #7
asargent_no_longer_on_chrome
lgtm
7 years, 6 months ago (2013-05-31 19:36:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/15817008/27001
7 years, 6 months ago (2013-05-31 19:47:49 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=6179
7 years, 6 months ago (2013-05-31 19:59:49 UTC) #10
Tim Song
+isherman Can you take a look at histograms.xml for OWNERS approval?
7 years, 6 months ago (2013-05-31 20:11:13 UTC) #11
Ilya Sherman
lgtm
7 years, 6 months ago (2013-05-31 20:18:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/15817008/27001
7 years, 6 months ago (2013-05-31 20:19:11 UTC) #13
commit-bot: I haz the power
7 years, 6 months ago (2013-06-01 00:41:19 UTC) #14
Message was sent while issue was closed.
Change committed as 203537

Powered by Google App Engine
This is Rietveld 408576698