wifi_sync: implement ACTION_ADD in WifiCredentialSyncableService
commitc96b5d5783a331aeea09e91e87f2f3678909c37f
authorquiche <quiche@chromium.org>
Mon, 26 Jan 2015 20:12:55 +0000 (26 12:12 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 26 Jan 2015 20:14:09 +0000 (26 20:14 +0000)
treeb5d357f112d770ce91c98f7e367a1290c1e481e2
parentc324546cf857bae485efb9a2d80eec6d50d18ed5
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*"

Review URL: https://codereview.chromium.org/836303004

Cr-Commit-Position: refs/heads/master@{#313109}
components/components_tests.gyp
components/wifi_sync/BUILD.gn
components/wifi_sync/DEPS
components/wifi_sync/wifi_credential_syncable_service.cc
components/wifi_sync/wifi_credential_syncable_service.h
components/wifi_sync/wifi_credential_syncable_service_factory.cc
components/wifi_sync/wifi_credential_syncable_service_unittest.cc [new file with mode: 0644]