diff options
author | quiche <quiche@chromium.org> | 2014-12-19 19:57:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-20 03:58:47 +0000 |
commit | 271c6cca48a6cef32c0f3add3b17b700707deec5 (patch) | |
tree | e00a4bc679bf8a3dc6742f3acd55e03fc3cd999c /components/wifi_sync.gypi | |
parent | 7608f02ae8f93fb125b6fd4c4c6ff9ab46989349 (diff) | |
download | chromium_src-271c6cca48a6cef32c0f3add3b17b700707deec5.zip chromium_src-271c6cca48a6cef32c0f3add3b17b700707deec5.tar.gz chromium_src-271c6cca48a6cef32c0f3add3b17b700707deec5.tar.bz2 |
Add a new component for WiFi credential sync. Populate the
new component with a stub SyncableService, and its
corresponding factory. This SyncableService is plumbed
into sync iff "--enable-wifi-credential-sync" is present
in the command-line.
Also:
- add sync integration tests (single client, and two client)
- add WifiSecurityClass: an enum to provide an internal
representation of WiFi security classes (e.g. WEP, PSK).
- add WifiCredential: an abstraction of the parameters
required to find and connect to a WiFi network
- add conversions between ModelType and NotificationType,
for WIFI_CREDENTIALS
BUG=chromium:426693
BUG=chromium:426696
BUG=chromium:427595
TEST=sync_integration_tests --gtest_filter="*Wifi*"
TEST=components_unittests --gtest_filter="Wifi*"
Review URL: https://codereview.chromium.org/709683004
Cr-Commit-Position: refs/heads/master@{#309333}
Diffstat (limited to 'components/wifi_sync.gypi')
-rw-r--r-- | components/wifi_sync.gypi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/components/wifi_sync.gypi b/components/wifi_sync.gypi new file mode 100644 index 0000000..835d282 --- /dev/null +++ b/components/wifi_sync.gypi @@ -0,0 +1,29 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + # GN version: //components/wifi_sync + 'target_name': 'wifi_sync', + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base', + '../sync/sync.gyp:sync', + ], + 'sources': [ + 'wifi_sync/network_state_helper_chromeos.cc', + 'wifi_sync/network_state_helper_chromeos.h', + 'wifi_sync/wifi_credential.cc', + 'wifi_sync/wifi_credential.h', + 'wifi_sync/wifi_credential_syncable_service.cc', + 'wifi_sync/wifi_credential_syncable_service.h', + 'wifi_sync/wifi_credential_syncable_service_factory.cc', + 'wifi_sync/wifi_credential_syncable_service_factory.h', + 'wifi_sync/wifi_security_class.h', + 'wifi_sync/wifi_security_class_chromeos.cc', + ], + }, + ], +} |