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

Issue 836303004: wifi_sync: implement ACTION_ADD in WifiCredentialSyncableService (Closed)

Created:
5 years, 11 months ago by mukesh agrawal
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@submit-4.2-wifi-config-delegate
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

wifi_sync: implement ACTION_ADD in WifiCredentialSyncableService Implement support for adding networks. Specifically: 1) When an ACTION_ADD change is received from sync, apply that change to the platform's network configruation. 2) Provide a method that upper layers can call, to add a network to Chrome Sync. BUG=chromium:431435 TEST=components_unittests --gtest_filter="Wifi*" Committed: https://crrev.com/c96b5d5783a331aeea09e91e87f2f3678909c37f Cr-Commit-Position: refs/heads/master@{#313109}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 38

Patch Set 3 : add more unit tests for ProcessSyncChanges #

Total comments: 4

Patch Set 4 : rebase to ToT #

Total comments: 7

Patch Set 5 : address comments on PS3 (stevenjb) and PS4 (pavely) #

Total comments: 1

Patch Set 6 : apply git cl format #

Total comments: 34

Patch Set 7 : address comments on PS6 #

Total comments: 1

Patch Set 8 : virtual -> override #

Unified diffs Side-by-side diffs Delta from patch set Stats (+519 lines, -5 lines) Patch
M components/components_tests.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/wifi_sync/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/wifi_sync/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/wifi_sync/wifi_credential_syncable_service.h View 1 2 3 4 5 6 3 chunks +28 lines, -1 line 0 comments Download
M components/wifi_sync/wifi_credential_syncable_service.cc View 1 2 3 4 5 6 3 chunks +166 lines, -3 lines 0 comments Download
M components/wifi_sync/wifi_credential_syncable_service_factory.cc View 1 2 2 chunks +34 lines, -1 line 0 comments Download
A components/wifi_sync/wifi_credential_syncable_service_unittest.cc View 1 2 3 4 5 6 7 1 chunk +286 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
mukesh agrawal
5 years, 11 months ago (2015-01-07 18:43:24 UTC) #3
mukesh agrawal
The build failure is due to this being an incremental CL. (I didn't realize the ...
5 years, 11 months ago (2015-01-07 18:49:34 UTC) #4
erikwright (departed)
FYI: While 'git cl try' can only submit what is uploaded to Rietveld, 'git try' ...
5 years, 11 months ago (2015-01-13 19:21:59 UTC) #5
stevenjb
https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode165 components/wifi_sync/wifi_credential_syncable_service.cc:165: for (const auto &sync_change : change_list) { auto& syc_change ...
5 years, 11 months ago (2015-01-14 00:12:49 UTC) #6
erikwright (departed)
https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service_unittest.cc File components/wifi_sync/wifi_credential_syncable_service_unittest.cc (right): https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service_unittest.cc#newcode30 components/wifi_sync/wifi_credential_syncable_service_unittest.cc:30: config_delegate_ = config_delegate.get(); On 2015/01/14 00:12:49, stevenjb wrote: > ...
5 years, 11 months ago (2015-01-14 14:59:27 UTC) #7
mukesh agrawal
Thanks, and PTAL. https://codereview.chromium.org/836303004/diff/20001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/836303004/diff/20001/components/components_tests.gyp#newcode817 components/components_tests.gyp:817: 'wifi_sync/fake_wifi_config_delegate.cc', Removed due to rolling the ...
5 years, 11 months ago (2015-01-20 21:13:16 UTC) #8
stevenjb
https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode222 components/wifi_sync/wifi_credential_syncable_service.cc:222: // TODO(quiche): Handle case where network already exists. On ...
5 years, 11 months ago (2015-01-20 22:20:27 UTC) #9
pavely
lgtm with small comments https://codereview.chromium.org/836303004/diff/60001/components/wifi_sync/DEPS File components/wifi_sync/DEPS (right): https://codereview.chromium.org/836303004/diff/60001/components/wifi_sync/DEPS#newcode9 components/wifi_sync/DEPS:9: "+sync/internal_api/public", could you put "+sync/internal_api/public/attachments" ...
5 years, 11 months ago (2015-01-21 23:08:40 UTC) #10
mukesh agrawal
https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/20001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode222 components/wifi_sync/wifi_credential_syncable_service.cc:222: // TODO(quiche): Handle case where network already exists. On ...
5 years, 11 months ago (2015-01-22 00:36:00 UTC) #11
mukesh agrawal
Thanks, all. stevenjb + erikwright: PTAL (Note: PS6 simply applies "git cl format" to PS5. ...
5 years, 11 months ago (2015-01-22 00:41:03 UTC) #12
mukesh agrawal
https://codereview.chromium.org/836303004/diff/80001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/80001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode31 components/wifi_sync/wifi_credential_syncable_service.cc:31: const WifiCredential& credential, I went with WifiCredential here, instead ...
5 years, 11 months ago (2015-01-22 00:59:20 UTC) #13
erikwright (departed)
https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode24 components/wifi_sync/wifi_credential_syncable_service.cc:24: struct raw_credential_data { This should still be named in ...
5 years, 11 months ago (2015-01-22 15:59:10 UTC) #14
stevenjb
https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode24 components/wifi_sync/wifi_credential_syncable_service.cc:24: struct raw_credential_data { On 2015/01/22 15:59:09, erikwright (OOO Jan ...
5 years, 11 months ago (2015-01-22 17:44:57 UTC) #15
mukesh agrawal
erikwright, stevenjb: Thanks and PTAL. https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode24 components/wifi_sync/wifi_credential_syncable_service.cc:24: struct raw_credential_data { On ...
5 years, 11 months ago (2015-01-22 23:36:03 UTC) #16
stevenjb
lgtm https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc File components/wifi_sync/wifi_credential_syncable_service.cc (right): https://codereview.chromium.org/836303004/diff/100001/components/wifi_sync/wifi_credential_syncable_service.cc#newcode157 components/wifi_sync/wifi_credential_syncable_service.cc:157: for (const auto& sync_change : change_list) { On ...
5 years, 11 months ago (2015-01-22 23:58:00 UTC) #17
erikwright (departed)
LGTM.
5 years, 11 months ago (2015-01-25 15:44:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836303004/120001
5 years, 10 months ago (2015-01-26 17:43:41 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/16648)
5 years, 10 months ago (2015-01-26 18:24:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836303004/140001
5 years, 10 months ago (2015-01-26 19:12:38 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-01-26 20:13:33 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-01-26 20:14:37 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c96b5d5783a331aeea09e91e87f2f3678909c37f
Cr-Commit-Position: refs/heads/master@{#313109}

Powered by Google App Engine
This is Rietveld 408576698