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

Issue 8747003: Add private system extension API to get system update status (Closed)

Created:
9 years ago by hashimoto
Modified:
9 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, Erik does not do reviews, yoshiki+watch_chromium.org, mihaip+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, arv (Not doing code reviews), dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

Add private system extension API to get system update status BUG=chromium-os:17585 TEST=browser_tests --gtest_filter=SystemPrivateChromeOsApiTest.GetUpdateStatus Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114596

Patch Set 1 : Codereview #

Total comments: 8

Patch Set 2 : Fix API description, add missing copyright. #

Patch Set 3 : Rebased onto ToT #

Patch Set 4 : Move the function from accessibilityPrivate to systemPrivate.chromeos #

Patch Set 5 : Move the function to systemPrivate #

Total comments: 2

Patch Set 6 : Rename NeedReboot to NeedRestart #

Total comments: 2

Patch Set 7 : Fix for the case with no update on non-ChromeOS platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -49 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/system/system_api.h View 1 2 3 4 1 chunk +10 lines, -8 lines 0 comments Download
M chrome/browser/extensions/system/system_api.cc View 1 2 3 4 5 6 3 chunks +77 lines, -3 lines 0 comments Download
M chrome/browser/extensions/system/system_apitest.cc View 1 2 3 4 1 chunk +58 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 2 chunks +36 lines, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/system/get_incognito_mode_availability/manifest.json View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/test/data/extensions/api_test/system/get_incognito_mode_availability/test.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/system/get_update_status/background.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/system/get_update_status/background.js View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/system/get_update_status/manifest.json View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download
D chrome/test/data/extensions/api_test/system/manifest.json View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/extensions/api_test/system/test.html View 1 2 3 4 1 chunk +0 lines, -19 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hashimoto
9 years ago (2011-11-30 10:22:22 UTC) #1
dmazzoni
LGTM. Nice job. http://codereview.chromium.org/8747003/diff/6002/chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc File chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc (right): http://codereview.chromium.org/8747003/diff/6002/chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc#newcode1 chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc:1: #include "chrome/browser/chromeos/accessibility/accessibility_private_extension_api.h" Need copyright at top ...
9 years ago (2011-11-30 15:46:04 UTC) #2
hashimoto
New patch set. http://codereview.chromium.org/8747003/diff/6002/chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc File chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc (right): http://codereview.chromium.org/8747003/diff/6002/chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc#newcode1 chrome/browser/chromeos/accessibility/accessibility_private_extension_api.cc:1: #include "chrome/browser/chromeos/accessibility/accessibility_private_extension_api.h" On 2011/11/30 15:46:04, Dominic ...
9 years ago (2011-12-01 02:28:00 UTC) #3
Aaron Boodman
We recently added a systemPrivate namespace. I think this would make more sense in there.
9 years ago (2011-12-01 05:02:51 UTC) #4
hashimoto
On 2011/12/01 05:02:51, Aaron Boodman wrote: > We recently added a systemPrivate namespace. I think ...
9 years ago (2011-12-01 05:11:51 UTC) #5
Aaron Boodman
Ah, it hasn't landed yet: http://codereview.chromium.org/8662008/ Soon! On Wed, Nov 30, 2011 at 9:11 PM, ...
9 years ago (2011-12-01 06:18:24 UTC) #6
hashimoto
Moved the function from accessibilityPrivate to systemPrivate.chromeos. PTAL
9 years ago (2011-12-13 09:33:21 UTC) #7
Aaron Boodman
On Tue, Dec 13, 2011 at 1:33 AM, <hashimoto@chromium.org> wrote: > Moved the function from ...
9 years ago (2011-12-14 00:21:56 UTC) #8
hashimoto
On 2011/12/14 00:21:56, Aaron Boodman wrote: > On Tue, Dec 13, 2011 at 1:33 AM, ...
9 years ago (2011-12-14 01:10:14 UTC) #9
hashimoto
+battre New patch set. Moved the function to systemPrivate.
9 years ago (2011-12-14 06:28:01 UTC) #10
Aaron Boodman
thanks, lgtm w/ one naming nit. http://codereview.chromium.org/8747003/diff/21013/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): http://codereview.chromium.org/8747003/diff/21013/chrome/common/extensions/api/extension_api.json#newcode9121 chrome/common/extensions/api/extension_api.json:9121: "enum": ["NotAvailable", "Updating", ...
9 years ago (2011-12-14 07:33:27 UTC) #11
hashimoto
http://codereview.chromium.org/8747003/diff/21013/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): http://codereview.chromium.org/8747003/diff/21013/chrome/common/extensions/api/extension_api.json#newcode9121 chrome/common/extensions/api/extension_api.json:9121: "enum": ["NotAvailable", "Updating", "NeedReboot"], On 2011/12/14 07:33:28, Aaron Boodman ...
9 years ago (2011-12-14 08:14:32 UTC) #12
battre
LGTM if you address my concern. http://codereview.chromium.org/8747003/diff/26001/chrome/browser/extensions/system/system_api.cc File chrome/browser/extensions/system/system_api.cc (right): http://codereview.chromium.org/8747003/diff/26001/chrome/browser/extensions/system/system_api.cc#newcode98 chrome/browser/extensions/system/system_api.cc:98: #else In this ...
9 years ago (2011-12-14 09:21:27 UTC) #13
hashimoto
http://codereview.chromium.org/8747003/diff/26001/chrome/browser/extensions/system/system_api.cc File chrome/browser/extensions/system/system_api.cc (right): http://codereview.chromium.org/8747003/diff/26001/chrome/browser/extensions/system/system_api.cc#newcode98 chrome/browser/extensions/system/system_api.cc:98: #else On 2011/12/14 09:21:27, battre wrote: > In this ...
9 years ago (2011-12-14 09:40:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/8747003/14026
9 years ago (2011-12-15 02:29:34 UTC) #15
commit-bot: I haz the power
9 years ago (2011-12-15 05:04:21 UTC) #16
Change committed as 114596

Powered by Google App Engine
This is Rietveld 408576698