diff options
author | sdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-15 13:08:34 +0000 |
---|---|---|
committer | sdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-15 13:08:34 +0000 |
commit | 857b155c8ff656c695093b4ac8ff3ddd9245f787 (patch) | |
tree | fffbd8944d5933a33f88f79b03f5c793b0e5c57a /rlz | |
parent | 94c09b934cee0fca223ebc96834a815883cc2a24 (diff) | |
download | chromium_src-857b155c8ff656c695093b4ac8ff3ddd9245f787.zip chromium_src-857b155c8ff656c695093b4ac8ff3ddd9245f787.tar.gz chromium_src-857b155c8ff656c695093b4ac8ff3ddd9245f787.tar.bz2 |
Do not reserve an access point code for CHROME_IOS_RESERVED
Access point values need to be coordinated with the team using them. Since
CHROME_IOS_RESERVED is not used, do not reserve an access point for that
enum, and instead assert if it is ever used.
BUG=360686
Review URL: https://codereview.chromium.org/237273002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz')
-rw-r--r-- | rlz/lib/lib_values.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rlz/lib/lib_values.cc b/rlz/lib/lib_values.cc index 06113a8..586194a 100644 --- a/rlz/lib/lib_values.cc +++ b/rlz/lib/lib_values.cc @@ -99,7 +99,9 @@ const char* GetAccessPointName(AccessPoint point) { case CHROMEOS_HOME_PAGE: return "CB"; case CHROMEOS_APP_LIST: return "CC"; case CHROME_IOS_OMNIBOX: return "C9"; - case CHROME_IOS_RESERVED: return "C0"; + // Note: this enumeration does not correspond to a real access point and + // should never be used. Fails back to the default that raises an assert. + case CHROME_IOS_RESERVED: break; case CHROME_APP_LIST: return "C7"; case CHROME_MAC_APP_LIST: return "C8"; case UNDEFINED_AP_Q: return "RQ"; |