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

Issue 1099313003: Add the IDL and stub implementation for the chrome.autofillPrivate API. (Closed)

Created:
5 years, 8 months ago by Kyle Horimoto
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 and stub implementation for the chrome.autofillPrivate API. See https://docs.google.com/document/d/1AZmbifXOirRdIcAkhgXT_u1wam5FRxy-Wt7I-kv3CCg/edit?usp=sharing for details. BUG=479306 Committed: https://crrev.com/42f03866782cc98e745a155294d5465d91858c1f Cr-Commit-Position: refs/heads/master@{#326864}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fixed copy-paste error. #

Patch Set 3 : Added AddressComponent. #

Patch Set 4 : Added externs file. #

Patch Set 5 : kalman comments. #

Patch Set 6 : Added stub implementation. #

Patch Set 7 : Update JSON permissions. #

Total comments: 6

Patch Set 8 : kalman comments. #

Total comments: 6

Patch Set 9 : dbeam comments. #

Patch Set 10 : address-level{1,2,3} -> city,state,dependentLocality #

Patch Set 11 : AddressField updated as well. #

Patch Set 12 : AddressComponents. #

Total comments: 2

Patch Set 13 : stevenjb comment. #

Patch Set 14 : Convert to address-level per estade@'s request. #

Patch Set 15 : Rebased. #

Total comments: 1

Patch Set 16 : Rebased, and added credit card name as a CreditCardEntry field. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+656 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/autofill_private/OWNERS View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/autofill_private/autofill_private_api.h View 1 2 3 4 5 6 7 8 1 chunk +115 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/autofill_private/autofill_private_api.cc View 1 2 3 4 5 1 chunk +109 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/autofill_private.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +214 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/schemas.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_permission_message_rules.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/common/permissions/api_permission.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/permissions/permission_message.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
A third_party/closure_compiler/externs/autofill_private.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +171 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
Dan Beam
https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl File chrome/common/extensions/api/autofill_private.idl (right): https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl#newcode166 chrome/common/extensions/api/autofill_private.idl:166: static void onAddressListChanged(CreditCardEntry[] entries); nit: onCreditCardListChanged ;)
5 years, 8 months ago (2015-04-22 22:13:56 UTC) #1
Kyle Horimoto
https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl File chrome/common/extensions/api/autofill_private.idl (right): https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl#newcode166 chrome/common/extensions/api/autofill_private.idl:166: static void onAddressListChanged(CreditCardEntry[] entries); On 2015/04/22 22:13:56, Dan Beam ...
5 years, 8 months ago (2015-04-22 22:19:37 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl File chrome/common/extensions/api/autofill_private.idl (right): https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl#newcode9 chrome/common/extensions/api/autofill_private.idl:9: enum AddressField { Not used https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl#newcode25 chrome/common/extensions/api/autofill_private.idl:25: // Short ...
5 years, 8 months ago (2015-04-22 22:24:43 UTC) #4
Kyle Horimoto
Working on adding stub implementation functions now. https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl File chrome/common/extensions/api/autofill_private.idl (right): https://codereview.chromium.org/1099313003/diff/1/chrome/common/extensions/api/autofill_private.idl#newcode9 chrome/common/extensions/api/autofill_private.idl:9: enum AddressField ...
5 years, 8 months ago (2015-04-22 23:27:02 UTC) #5
Kyle Horimoto
5 years, 8 months ago (2015-04-23 02:13:31 UTC) #7
Mark P
histograms.xml lgtm note that you will have to sync before submitting; it's obvious to me ...
5 years, 8 months ago (2015-04-23 04:03:07 UTC) #8
not at google - send to devlin
lgtm https://codereview.chromium.org/1099313003/diff/120001/chrome/browser/extensions/api/autofill_private/autofill_private_api.h File chrome/browser/extensions/api/autofill_private/autofill_private_api.h (right): https://codereview.chromium.org/1099313003/diff/120001/chrome/browser/extensions/api/autofill_private/autofill_private_api.h#newcode17 chrome/browser/extensions/api/autofill_private/autofill_private_api.h:17: // Implements the chrome.autofillPrivate.saveAddress method. I don't think ...
5 years, 8 months ago (2015-04-23 19:35:52 UTC) #9
not at google - send to devlin
oh, and add an OWNERS file
5 years, 8 months ago (2015-04-23 19:46:56 UTC) #10
Kyle Horimoto
On 2015/04/23 19:46:56, kalman wrote: > oh, and add an OWNERS file Done.
5 years, 8 months ago (2015-04-23 20:23:14 UTC) #11
Kyle Horimoto
https://codereview.chromium.org/1099313003/diff/120001/chrome/browser/extensions/api/autofill_private/autofill_private_api.h File chrome/browser/extensions/api/autofill_private/autofill_private_api.h (right): https://codereview.chromium.org/1099313003/diff/120001/chrome/browser/extensions/api/autofill_private/autofill_private_api.h#newcode17 chrome/browser/extensions/api/autofill_private/autofill_private_api.h:17: // Implements the chrome.autofillPrivate.saveAddress method. On 2015/04/23 19:35:52, kalman ...
5 years, 8 months ago (2015-04-23 20:23:31 UTC) #12
Dan Beam
https://codereview.chromium.org/1099313003/diff/130001/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc File chrome/browser/extensions/api/autofill_private/autofill_private_api.cc (right): https://codereview.chromium.org/1099313003/diff/130001/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc#newcode7 chrome/browser/extensions/api/autofill_private/autofill_private_api.cc:7: #include "base/values.h" don't include something in the .h and ...
5 years, 8 months ago (2015-04-23 20:49:13 UTC) #13
Kyle Horimoto
https://codereview.chromium.org/1099313003/diff/130001/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc File chrome/browser/extensions/api/autofill_private/autofill_private_api.cc (right): https://codereview.chromium.org/1099313003/diff/130001/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc#newcode7 chrome/browser/extensions/api/autofill_private/autofill_private_api.cc:7: #include "base/values.h" On 2015/04/23 20:49:12, Dan Beam wrote: > ...
5 years, 8 months ago (2015-04-23 22:00:26 UTC) #14
stevenjb
Nice. LGTM. https://codereview.chromium.org/1099313003/diff/210001/chrome/common/extensions/api/_permission_features.json File chrome/common/extensions/api/_permission_features.json (right): https://codereview.chromium.org/1099313003/diff/210001/chrome/common/extensions/api/_permission_features.json#newcode72 chrome/common/extensions/api/_permission_features.json:72: // TODO(khorimoto): Whitelist the settings app once ...
5 years, 8 months ago (2015-04-24 03:13:35 UTC) #15
Kyle Horimoto
https://codereview.chromium.org/1099313003/diff/210001/chrome/common/extensions/api/_permission_features.json File chrome/common/extensions/api/_permission_features.json (right): https://codereview.chromium.org/1099313003/diff/210001/chrome/common/extensions/api/_permission_features.json#newcode72 chrome/common/extensions/api/_permission_features.json:72: // TODO(khorimoto): Whitelist the settings app once it's an ...
5 years, 8 months ago (2015-04-24 17:13:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099313003/270001
5 years, 8 months ago (2015-04-24 17:29:20 UTC) #19
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/58860)
5 years, 8 months ago (2015-04-24 17:36:58 UTC) #21
Tyler Breisacher (Chromium)
https://codereview.chromium.org/1099313003/diff/270001/third_party/closure_compiler/externs/autofill_private.js File third_party/closure_compiler/externs/autofill_private.js (right): https://codereview.chromium.org/1099313003/diff/270001/third_party/closure_compiler/externs/autofill_private.js#newcode1 third_party/closure_compiler/externs/autofill_private.js:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 8 months ago (2015-04-24 17:42:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099313003/270001
5 years, 8 months ago (2015-04-24 17:44:50 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/50543)
5 years, 8 months ago (2015-04-24 18:46:42 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099313003/290001
5 years, 8 months ago (2015-04-24 19:09:53 UTC) #30
commit-bot: I haz the power
Committed patchset #16 (id:290001)
5 years, 8 months ago (2015-04-24 20:19:17 UTC) #31
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 20:20:09 UTC) #32
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/42f03866782cc98e745a155294d5465d91858c1f
Cr-Commit-Position: refs/heads/master@{#326864}

Powered by Google App Engine
This is Rietveld 408576698