summaryrefslogtreecommitdiffstats
path: root/components/onc/onc_constants.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-23 21:32:28 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-23 21:32:28 +0000
commite24d453e7497451e0bad1176fa6cc434217646ad (patch)
tree15b55c74613c59a9aace03adbd812db3ce9d398b /components/onc/onc_constants.h
parentf1ff9844d6cd664b818e137a5fca56b748cda715 (diff)
downloadchromium_src-e24d453e7497451e0bad1176fa6cc434217646ad.zip
chromium_src-e24d453e7497451e0bad1176fa6cc434217646ad.tar.gz
chromium_src-e24d453e7497451e0bad1176fa6cc434217646ad.tar.bz2
Separate out InternetOptionsHandler strings
BUG=279351 R=michaelpg@chromium.org, nkostylev@chromium.org, pneubeck@chromium.org TBR=nkostylev@chromium.org Review URL: https://codereview.chromium.org/245363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/onc/onc_constants.h')
-rw-r--r--components/onc/onc_constants.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h
index 400b340..c28ec52 100644
--- a/components/onc/onc_constants.h
+++ b/components/onc/onc_constants.h
@@ -4,6 +4,8 @@
#ifndef COMPONENTS_ONC_ONC_CONSTANTS_H_
#define COMPONENTS_ONC_ONC_CONSTANTS_H_
+#include <string>
+
#include "components/onc/onc_export.h"
// Constants for ONC properties.
@@ -68,6 +70,11 @@ ONC_EXPORT extern const char kConnectionState[];
ONC_EXPORT extern const char kType[];
ONC_EXPORT extern const char kVPN[];
ONC_EXPORT extern const char kWiFi[];
+
+ONC_EXPORT extern std::string CellularProperty(const std::string& property);
+ONC_EXPORT extern std::string VpnProperty(const std::string& property);
+ONC_EXPORT extern std::string WifiProperty(const std::string& property);
+
} // namespace network_config
namespace network_type {
@@ -334,4 +341,3 @@ ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[];
} // namespace onc
#endif // COMPONENTS_ONC_ONC_CONSTANTS_H_
-