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

Issue 674633002: sync: add WIFI_CREDENTIALS protobuf, ModelType, and preference (Closed)

Created:
6 years, 2 months ago by mukesh agrawal
Modified:
6 years, 1 month ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, pvalenzuela+watch_chromium.org, arv+watch_chromium.org, albertb+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@local-master
Project:
chromium
Visibility:
Public.

Description

sync: add WIFI_CREDENTIALS protobuf, ModelType, and preference - add a protobuf for WiFi credentials - add a ModelType for syncing WiFi credentials - add UI for controlling whether or not WiFi credentials are synced - add new data type to testserver While there: - update comment in sync_setup_overlay.js - fix ordering of arguments to EXPECT_EQ in CheckBool (sync_setup_handler_unittest) - move GetSelectableTypeNameMap from sync_setup_handler.cc to model_type.cc BUG=chromium:422045 TEST=ProfileSync, SyncSetup, SyncModel, ModelType, NigoriUtil, ProtoEnumConversions, ProtoValueConversions, SyncEncryptionHandlerImpl Committed: https://crrev.com/dfad17b4d9648cfa189f36b8c156d7296582bcfa Cr-Commit-Position: refs/heads/master@{#302159}

Patch Set 1 #

Total comments: 4

Patch Set 2 : sync: add WIFI_CREDENTIALS protobuf, ModelType, and preference #

Total comments: 9

Patch Set 3 : fix JS, update data_type_histogram.h, and update histograms.xml #

Total comments: 4

Patch Set 4 : document when Sync.Freq* histograms are logged #

Patch Set 5 : resolve conflicts with https://codereview.chromium.org/673983003 #

Total comments: 4

Patch Set 6 : fix JS whitespace, move GetSelectableTypes to model_type.cc #

Patch Set 7 : update git commit msg to reflect PS6 #

Patch Set 8 : fix error in get commit message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -65 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/sync_setup_overlay.html View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/sync_setup_overlay.js View 1 2 3 4 5 3 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 5 4 chunks +5 lines, -35 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 2 3 4 4 chunks +6 lines, -1 line 0 comments Download
M components/sync_driver/model_association_manager.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/pref_names.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/sync_prefs.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M components/sync_driver/user_selectable_sync_type.h View 2 chunks +2 lines, -1 line 0 comments Download
M sync/internal_api/public/base/model_type.h View 1 2 3 4 5 4 chunks +6 lines, -0 lines 0 comments Download
M sync/internal_api/public/sync_encryption_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl_unittest.cc View 4 chunks +8 lines, -4 lines 0 comments Download
M sync/protocol/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M sync/protocol/proto_enum_conversions.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M sync/protocol/proto_enum_conversions.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M sync/protocol/proto_enum_conversions_unittest.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions_unittest.cc View 1 2 3 4 4 chunks +7 lines, -1 line 0 comments Download
M sync/protocol/sync.proto View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A sync/protocol/wifi_credential_specifics.proto View 1 1 chunk +58 lines, -0 lines 0 comments Download
M sync/sync.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M sync/syncable/model_type.cc View 1 2 3 4 5 10 chunks +51 lines, -0 lines 0 comments Download
M sync/syncable/nigori_util.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M sync/tools/testserver/chromiumsync.py View 1 2 3 4 4 chunks +6 lines, -1 line 0 comments Download
M sync/util/data_type_histogram.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 17 chunks +41 lines, -15 lines 0 comments Download

Messages

Total messages: 44 (13 generated)
mukesh agrawal
https://codereview.chromium.org/674633002/diff/1/sync/internal_api/public/sync_encryption_handler.cc File sync/internal_api/public/sync_encryption_handler.cc (right): https://codereview.chromium.org/674633002/diff/1/sync/internal_api/public/sync_encryption_handler.cc#newcode19 sync/internal_api/public/sync_encryption_handler.cc:19: types.Put(WIFI_CREDENTIALS); kevinliu@ and I are still discussing the encryption ...
6 years, 2 months ago (2014-10-22 20:15:24 UTC) #3
stevenjb
https://codereview.chromium.org/674633002/diff/1/sync/protocol/proto_enum_conversions.h File sync/protocol/proto_enum_conversions.h (right): https://codereview.chromium.org/674633002/diff/1/sync/protocol/proto_enum_conversions.h#newcode42 sync/protocol/proto_enum_conversions.h:42: nit: extra blank line https://codereview.chromium.org/674633002/diff/1/sync/protocol/wifi_credential_specifics.proto File sync/protocol/wifi_credential_specifics.proto (right): https://codereview.chromium.org/674633002/diff/1/sync/protocol/wifi_credential_specifics.proto#newcode17 ...
6 years, 2 months ago (2014-10-24 17:35:18 UTC) #4
mukesh agrawal
On 2014/10/24 17:35:18, stevenjb wrote: > https://codereview.chromium.org/674633002/diff/1/sync/protocol/proto_enum_conversions.h > File sync/protocol/proto_enum_conversions.h (right): > > https://codereview.chromium.org/674633002/diff/1/sync/protocol/proto_enum_conversions.h#newcode42 > ...
6 years, 2 months ago (2014-10-24 18:01:14 UTC) #5
mukesh agrawal
zea@, pavely@, I think this is now ready for you to review. Please let me ...
6 years, 2 months ago (2014-10-24 18:01:55 UTC) #6
stevenjb
lgtm
6 years, 2 months ago (2014-10-24 19:14:52 UTC) #7
pavely
https://codereview.chromium.org/674633002/diff/20001/chrome/browser/resources/sync_setup_overlay.js File chrome/browser/resources/sync_setup_overlay.js (right): https://codereview.chromium.org/674633002/diff/20001/chrome/browser/resources/sync_setup_overlay.js#newcode309 chrome/browser/resources/sync_setup_overlay.js:309: // sync_setup_handler.cc:GetConfiguration(). Thanks for updating comment. https://codereview.chromium.org/674633002/diff/20001/chrome/browser/resources/sync_setup_overlay.js#newcode327 chrome/browser/resources/sync_setup_overlay.js:327: $('wifiCredentials-checkbox').checked, ...
6 years, 2 months ago (2014-10-24 23:00:34 UTC) #8
mukesh agrawal
https://codereview.chromium.org/674633002/diff/20001/chrome/browser/resources/sync_setup_overlay.js File chrome/browser/resources/sync_setup_overlay.js (right): https://codereview.chromium.org/674633002/diff/20001/chrome/browser/resources/sync_setup_overlay.js#newcode327 chrome/browser/resources/sync_setup_overlay.js:327: $('wifiCredentials-checkbox').checked, On 2014/10/24 23:00:33, pavely wrote: > I think ...
6 years, 2 months ago (2014-10-25 00:39:43 UTC) #9
mukesh agrawal
jwd@, can you review the histograms.xml part of this change? Thanks.
6 years, 2 months ago (2014-10-25 00:42:06 UTC) #12
jwd
https://codereview.chromium.org/674633002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/674633002/diff/40001/tools/metrics/histograms/histograms.xml#newcode34812 tools/metrics/histograms/histograms.xml:34812: + commit frequency. Can you mention when this is ...
6 years, 1 month ago (2014-10-27 19:31:26 UTC) #13
mukesh agrawal
https://codereview.chromium.org/674633002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/674633002/diff/40001/tools/metrics/histograms/histograms.xml#newcode34812 tools/metrics/histograms/histograms.xml:34812: + commit frequency. zea@, pavely@, do you have a ...
6 years, 1 month ago (2014-10-27 19:36:47 UTC) #14
Nicolas Zea
FYI Pavel is reviewing this from the sync side of things, no need to wait ...
6 years, 1 month ago (2014-10-28 20:33:36 UTC) #17
mukesh agrawal
thanks, zea@ pavely@, does PS3 address your concerns, or is there more needed on your ...
6 years, 1 month ago (2014-10-28 20:49:05 UTC) #18
mukesh agrawal
https://codereview.chromium.org/674633002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/674633002/diff/40001/tools/metrics/histograms/histograms.xml#newcode34812 tools/metrics/histograms/histograms.xml:34812: + commit frequency. On 2014/10/27 19:31:26, Jesse Doherty wrote: ...
6 years, 1 month ago (2014-10-28 20:49:58 UTC) #19
jwd
lgtm
6 years, 1 month ago (2014-10-28 21:04:05 UTC) #20
pavely
lgtm
6 years, 1 month ago (2014-10-28 21:58:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674633002/60001
6 years, 1 month ago (2014-10-28 22:08:41 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/74846) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/79886) android_arm64_dbg_recipe ...
6 years, 1 month ago (2014-10-28 22:14:00 UTC) #25
mukesh agrawal
Oops. Looks like my rebase caused some additional changes. Let me clean those up...
6 years, 1 month ago (2014-10-28 23:20:53 UTC) #26
mukesh agrawal
Nevermind comment 26. After looking at the diff from base to PS5, I see that ...
6 years, 1 month ago (2014-10-28 23:30:22 UTC) #27
pavely
lgtm
6 years, 1 month ago (2014-10-28 23:34:55 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674633002/80001
6 years, 1 month ago (2014-10-29 00:33:11 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/20773)
6 years, 1 month ago (2014-10-29 00:42:24 UTC) #32
mukesh agrawal
tim@, can you review sync_setup_overlay.html and sync_setup_overlay.js? (Or point me to an alternate reviewer? You're ...
6 years, 1 month ago (2014-10-29 01:26:53 UTC) #35
Roger Tawa OOO till Jul 10th
lgtm with comments below. https://codereview.chromium.org/674633002/diff/80001/chrome/browser/resources/sync_setup_overlay.js File chrome/browser/resources/sync_setup_overlay.js (right): https://codereview.chromium.org/674633002/diff/80001/chrome/browser/resources/sync_setup_overlay.js#newcode449 chrome/browser/resources/sync_setup_overlay.js:449: args.wifiCredentialsEnforced; Indent 447 and 449 ...
6 years, 1 month ago (2014-10-29 13:55:03 UTC) #36
mukesh agrawal
https://codereview.chromium.org/674633002/diff/80001/chrome/browser/resources/sync_setup_overlay.js File chrome/browser/resources/sync_setup_overlay.js (right): https://codereview.chromium.org/674633002/diff/80001/chrome/browser/resources/sync_setup_overlay.js#newcode449 chrome/browser/resources/sync_setup_overlay.js:449: args.wifiCredentialsEnforced; On 2014/10/29 13:55:03, Roger Tawa wrote: > Indent ...
6 years, 1 month ago (2014-10-29 18:17:11 UTC) #37
mukesh agrawal
pavely@, can I trouble you for another look? Just want to make sure you're happy ...
6 years, 1 month ago (2014-10-29 18:20:43 UTC) #38
pavely
On 2014/10/29 18:20:43, mukesh agrawal wrote: > pavely@, can I trouble you for another look? ...
6 years, 1 month ago (2014-10-29 21:54:44 UTC) #39
tim (not reviewing)
rubber stamp owner LGTM
6 years, 1 month ago (2014-10-30 18:55:43 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674633002/140001
6 years, 1 month ago (2014-10-30 19:36:23 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years, 1 month ago (2014-10-30 21:32:48 UTC) #43
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 21:33:21 UTC) #44
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/dfad17b4d9648cfa189f36b8c156d7296582bcfa
Cr-Commit-Position: refs/heads/master@{#302159}

Powered by Google App Engine
This is Rietveld 408576698