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

Issue 1088593004: Add the IDL for chrome.instanceID API. (Closed)

Created:
5 years, 8 months ago by jianli
Modified:
5 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the IDL for chrome.instanceID API. It is not implemented yet. So all InstanceID***Functions are just placeholders. BUG=477084 TEST=none Committed: https://crrev.com/d01af7ce4d760cc647964d835505bbe2df7be8b8 Cr-Commit-Position: refs/heads/master@{#326909}

Patch Set 1 #

Patch Set 2 : Sync #

Total comments: 16

Patch Set 3 : Address feedback #

Patch Set 4 : Add OWNERS and fix name in DECLARE_EXTENSION_FUNCTION macro #

Patch Set 5 : Add histograms.xml #

Patch Set 6 : Sync #

Patch Set 7 : Sync again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -2 lines) Patch
A + chrome/browser/extensions/api/instance_id/OWNERS View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/extensions/api/instance_id/instance_id_api.h View 1 2 3 1 chunk +83 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/instance_id/instance_id_api.cc View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/instance_id.idl View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/schemas.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/instanceID.html View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/instanceID.html View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
jianli
5 years, 8 months ago (2015-04-22 00:13:49 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h File chrome/browser/extensions/api/instance_id/instance_id_api.h (right): https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h#newcode14 chrome/browser/extensions/api/instance_id/instance_id_api.h:14: class InstanceIDGetIDFunction : public AsyncExtensionFunction { Extend UIThreadExtensionFunction, not ...
5 years, 8 months ago (2015-04-22 17:21:42 UTC) #3
fgorski
Mostly looks good. https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h File chrome/browser/extensions/api/instance_id/instance_id_api.h (right): https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h#newcode16 chrome/browser/extensions/api/instance_id/instance_id_api.h:16: DECLARE_EXTENSION_FUNCTION("InstanceID.getId", INSTANCEID_GETID); getID https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h#newcode69 chrome/browser/extensions/api/instance_id/instance_id_api.h:69: DECLARE_EXTENSION_FUNCTION("InstanceID.deleteInstanceID", ...
5 years, 8 months ago (2015-04-22 17:34:59 UTC) #4
jianli
https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h File chrome/browser/extensions/api/instance_id/instance_id_api.h (right): https://codereview.chromium.org/1088593004/diff/20001/chrome/browser/extensions/api/instance_id/instance_id_api.h#newcode14 chrome/browser/extensions/api/instance_id/instance_id_api.h:14: class InstanceIDGetIDFunction : public AsyncExtensionFunction { On 2015/04/22 17:21:42, ...
5 years, 8 months ago (2015-04-22 20:18:21 UTC) #5
not at google - send to devlin
lgtm https://codereview.chromium.org/1088593004/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/1088593004/diff/20001/chrome/common/extensions/api/_api_features.json#newcode499 chrome/common/extensions/api/_api_features.json:499: "dependencies": ["permission:gcm"], On 2015/04/22 20:18:20, jianli wrote: > ...
5 years, 8 months ago (2015-04-22 20:47:42 UTC) #6
fgorski
LGTM with one comment https://codereview.chromium.org/1088593004/diff/20001/chrome/common/extensions/api/instance_id.idl File chrome/common/extensions/api/instance_id.idl (right): https://codereview.chromium.org/1088593004/diff/20001/chrome/common/extensions/api/instance_id.idl#newcode20 chrome/common/extensions/api/instance_id.idl:20: object? options; On 2015/04/22 20:18:21, ...
5 years, 8 months ago (2015-04-22 20:55:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088593004/40001
5 years, 8 months ago (2015-04-22 21:28:16 UTC) #9
not at google - send to devlin
I forgot to mention - add an OWNERS file for this API with yourself and ...
5 years, 8 months ago (2015-04-22 22:01:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088593004/60001
5 years, 8 months ago (2015-04-22 22:56:57 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/58277)
5 years, 8 months ago (2015-04-23 02:26:25 UTC) #16
jianli
asvitkine, could you please approve the change to extension_function_histogram_value.h? Thanks.
5 years, 8 months ago (2015-04-23 20:50:57 UTC) #18
Alexei Svitkine (slow)
please update histograms.xml too
5 years, 8 months ago (2015-04-23 21:04:05 UTC) #19
jianli
On 2015/04/23 21:04:05, Alexei Svitkine wrote: > please update histograms.xml too Done. Thanks.
5 years, 8 months ago (2015-04-23 22:18:05 UTC) #20
Alexei Svitkine (slow)
lgtm
5 years, 8 months ago (2015-04-24 16:43:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088593004/100001
5 years, 8 months ago (2015-04-24 19:53:40 UTC) #24
commit-bot: I haz the power
Failed to apply patch for extensions/browser/extension_function_histogram_value.h: While running git apply --index -3 -p1; error: patch ...
5 years, 8 months ago (2015-04-24 21:01:12 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088593004/120001
5 years, 8 months ago (2015-04-24 21:20:56 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/65035)
5 years, 8 months ago (2015-04-24 21:40:52 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088593004/120001
5 years, 8 months ago (2015-04-24 22:00:06 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-24 22:31:40 UTC) #35
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 22:33:21 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d01af7ce4d760cc647964d835505bbe2df7be8b8
Cr-Commit-Position: refs/heads/master@{#326909}

Powered by Google App Engine
This is Rietveld 408576698