summaryrefslogtreecommitdiffstats
path: root/components/wifi_sync.gypi
diff options
context:
space:
mode:
authorquiche <quiche@chromium.org>2015-01-09 15:49:59 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-09 23:50:38 +0000
commit9606d276cc6c9dd5a9519aba82b11bc311fee61b (patch)
treea73de62b2423d9d108cf6953adc2126960a9701a /components/wifi_sync.gypi
parentd961bb75af1afc9c8afe0802d4a937e40e531ca7 (diff)
downloadchromium_src-9606d276cc6c9dd5a9519aba82b11bc311fee61b.zip
chromium_src-9606d276cc6c9dd5a9519aba82b11bc311fee61b.tar.gz
chromium_src-9606d276cc6c9dd5a9519aba82b11bc311fee61b.tar.bz2
wifi_sync: add WifiSecurityClass utility functions
- Add functions to convert to/from WifiSecurityClass, and sync's representation of the same concept. - Add a function to convert from WifiSecurityClass to an ONC string. - Add a function to check if a WifiSecurityClass allows passphrases. BUG=chromium:431432 TEST=components_unittests --gtest_filter="Wifi*" Review URL: https://codereview.chromium.org/841803002 Cr-Commit-Position: refs/heads/master@{#310894}
Diffstat (limited to 'components/wifi_sync.gypi')
-rw-r--r--components/wifi_sync.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/wifi_sync.gypi b/components/wifi_sync.gypi
index 835d282..c840af8 100644
--- a/components/wifi_sync.gypi
+++ b/components/wifi_sync.gypi
@@ -10,6 +10,7 @@
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
+ '../components/components.gyp:onc_component',
'../sync/sync.gyp:sync',
],
'sources': [
@@ -21,6 +22,7 @@
'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.cc',
'wifi_sync/wifi_security_class.h',
'wifi_sync/wifi_security_class_chromeos.cc',
],