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

Issue 363883002: Add API stubs for GCD device commands. (Closed)

Created:
6 years, 5 months ago by Vitaly Buka (NO REVIEWS)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add API stubs for GCD device commands. Changed registration API to work for one network at once. Fixed comments. Replaced argument GCDDevice with just string id. BUG=383167 R=alexsemenov@chromium.org, asargent@chromium.org, asvitkine@chromium.org, noamsml@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282099 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282273

Patch Set 1 #

Patch Set 2 : Wed 07/02/2014 1:25:27.38 #

Total comments: 9

Patch Set 3 : Wed 07/02/2014 15:11:26.29 #

Patch Set 4 : Fri 07/04/2014 0:45:35.00 #

Patch Set 5 : Mon 07/07/2014 17:38:51.88 #

Patch Set 6 : Tue 07/08/2014 1:11:55.68 #

Total comments: 13

Patch Set 7 : Tue 07/08/2014 11:15:53.58 #

Patch Set 8 : Tue 07/08/2014 11:30:30.36 #

Patch Set 9 : Tue 07/08/2014 11:53:33.64 #

Patch Set 10 : Tue 07/08/2014 12:06:34.51 #

Patch Set 11 : Tue 07/08/2014 12:15:11.81 #

Patch Set 12 : Tue 07/08/2014 21:45:27.93 #

Patch Set 13 : Wed 07/09/2014 1:49:27.18 #

Patch Set 14 : Wed 07/09/2014 1:55:23.76 #

Patch Set 15 : Wed 07/09/2014 12:38:38.94 #

Patch Set 16 : Thu 07/10/2014 0:13:26.25 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -132 lines) Patch
M chrome/browser/extensions/api/gcd_private/gcd_private_api.h View 1 2 3 4 5 6 7 8 9 10 11 15 5 chunks +93 lines, -14 lines 0 comments Download
M chrome/browser/extensions/api/gcd_private/gcd_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 15 10 chunks +122 lines, -44 lines 0 comments Download
M chrome/common/extensions/api/gcd_private.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +92 lines, -33 lines 0 comments Download
M chrome/test/data/extensions/api_test/gcd_private/api/get_cloud_list.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/data/extensions/api_test/gcd_private/api/receive_new_device.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -15 lines 0 comments Download
M chrome/test/data/extensions/api_test/gcd_private/api/remove_device.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -21 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Vitaly Buka (NO REVIEWS)
6 years, 5 months ago (2014-07-02 08:24:43 UTC) #1
alexsemenov
https://codereview.chromium.org/363883002/diff/20001/chrome/common/extensions/api/gcd_private.idl File chrome/common/extensions/api/gcd_private.idl (right): https://codereview.chromium.org/363883002/diff/20001/chrome/common/extensions/api/gcd_private.idl#newcode79 chrome/common/extensions/api/gcd_private.idl:79: static void getCommandDefs(GCDDevice device, CommandDefsCallback callback); Let's rename to ...
6 years, 5 months ago (2014-07-02 18:17:26 UTC) #2
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/363883002/diff/20001/chrome/common/extensions/api/gcd_private.idl File chrome/common/extensions/api/gcd_private.idl (right): https://codereview.chromium.org/363883002/diff/20001/chrome/common/extensions/api/gcd_private.idl#newcode79 chrome/common/extensions/api/gcd_private.idl:79: static void getCommandDefs(GCDDevice device, CommandDefsCallback callback); On 2014/07/02 18:17:25, ...
6 years, 5 months ago (2014-07-02 22:20:01 UTC) #3
alexsemenov
lgtm
6 years, 5 months ago (2014-07-02 22:22:28 UTC) #4
Alexei Svitkine (slow)
lgtm for histograms.xml, but I've not looked at the rest.
6 years, 5 months ago (2014-07-03 19:38:40 UTC) #5
Vitaly Buka (NO REVIEWS)
+noamsml
6 years, 5 months ago (2014-07-08 00:03:56 UTC) #6
Noam Samuel
https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl File chrome/common/extensions/api/gcd_private.idl (right): https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl#newcode33 chrome/common/extensions/api/gcd_private.idl:33: callback CommandDefinitionsCallback = void(object commandDefinitions); Is the object schema ...
6 years, 5 months ago (2014-07-08 18:26:32 UTC) #7
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl File chrome/common/extensions/api/gcd_private.idl (right): https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl#newcode33 chrome/common/extensions/api/gcd_private.idl:33: callback CommandDefinitionsCallback = void(object commandDefinitions); On 2014/07/08 18:26:32, Noam ...
6 years, 5 months ago (2014-07-08 18:49:06 UTC) #8
Noam Samuel
lgtm + 1 nit https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl File chrome/common/extensions/api/gcd_private.idl (right): https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl#newcode118 chrome/common/extensions/api/gcd_private.idl:118: // devices available using cloud. ...
6 years, 5 months ago (2014-07-08 19:04:30 UTC) #9
Vitaly Buka (NO REVIEWS)
On 2014/07/08 19:04:30, Noam Samuel wrote: > lgtm + 1 nit > > https://codereview.chromium.org/363883002/diff/220001/chrome/common/extensions/api/gcd_private.idl > ...
6 years, 5 months ago (2014-07-08 19:08:25 UTC) #10
asargent_no_longer_on_chrome
lgtm with the following caveat: The use of "object" types mean that you lose the ...
6 years, 5 months ago (2014-07-08 19:59:00 UTC) #11
Vitaly Buka (NO REVIEWS)
On 2014/07/08 19:59:00, Antony Sargent wrote: > lgtm with the following caveat: > > The ...
6 years, 5 months ago (2014-07-08 23:46:58 UTC) #12
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-09 04:49:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/340001
6 years, 5 months ago (2014-07-09 04:51:02 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 08:48:23 UTC) #15
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-09 08:58:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/360002
6 years, 5 months ago (2014-07-09 08:59:44 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 10:49:19 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-09 10:53:09 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/78784)
6 years, 5 months ago (2014-07-09 10:53:10 UTC) #20
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-09 19:35:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/450001
6 years, 5 months ago (2014-07-09 19:37:23 UTC) #22
Vitaly Buka (NO REVIEWS)
The CQ bit was unchecked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-09 19:38:52 UTC) #23
Vitaly Buka (NO REVIEWS)
Committed patchset #15 manually as r282099 (presubmit successful).
6 years, 5 months ago (2014-07-09 19:41:23 UTC) #24
dgrogan
Reverted. See https://codereview.chromium.org/385483002/
6 years, 5 months ago (2014-07-09 23:37:02 UTC) #25
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-09 23:48:20 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/470001
6 years, 5 months ago (2014-07-09 23:50:45 UTC) #27
Vitaly Buka (NO REVIEWS)
The CQ bit was unchecked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-10 00:24:38 UTC) #28
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-10 00:24:45 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/470001
6 years, 5 months ago (2014-07-10 00:29:19 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-10 03:12:23 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-10 03:15:39 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/79030)
6 years, 5 months ago (2014-07-10 03:15:40 UTC) #33
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-10 06:57:29 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/490001
6 years, 5 months ago (2014-07-10 06:58:41 UTC) #35
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-10 07:14:35 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/363883002/530001
6 years, 5 months ago (2014-07-10 07:16:03 UTC) #37
Vitaly Buka (NO REVIEWS)
6 years, 5 months ago (2014-07-10 07:47:08 UTC) #38
Message was sent while issue was closed.
Committed patchset #16 manually as r282273 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698