diff options
Diffstat (limited to 'rlz')
-rw-r--r-- | rlz/lib/lib_values.cc | 7 | ||||
-rw-r--r-- | rlz/lib/rlz_enums.h | 5 | ||||
-rw-r--r-- | rlz/lib/rlz_lib.cc | 1 |
3 files changed, 5 insertions, 8 deletions
diff --git a/rlz/lib/lib_values.cc b/rlz/lib/lib_values.cc index 80e987a..397668b 100644 --- a/rlz/lib/lib_values.cc +++ b/rlz/lib/lib_values.cc @@ -98,11 +98,8 @@ const char* GetAccessPointName(AccessPoint point) { case CHROMEOS_OMNIBOX: return "CA"; case CHROMEOS_HOME_PAGE: return "CB"; case CHROMEOS_APP_LIST: return "CC"; - case CHROME_IOS_OMNIBOX: return "C9"; - // Returns an invalid access point value here as this value does not - // correspond to a defined access point, but need to be defined for - // code that iterates over all values of rlz_lib::AccessPoint. - case CHROME_IOS_RESERVED: return "__"; + case CHROME_IOS_OMNIBOX_TABLET: return "C9"; + case CHROME_IOS_OMNIBOX_MOBILE: return "CD"; case CHROME_APP_LIST: return "C7"; case CHROME_MAC_APP_LIST: return "C8"; case UNDEFINED_AP_Q: return "RQ"; diff --git a/rlz/lib/rlz_enums.h b/rlz/lib/rlz_enums.h index e50ac2f..e976f86 100644 --- a/rlz/lib/rlz_enums.h +++ b/rlz/lib/rlz_enums.h @@ -62,8 +62,9 @@ enum AccessPoint { CHROMEOS_HOME_PAGE, // ChromeOS searches through Google as home page. CHROMEOS_APP_LIST, // ChromeOS searches through the app launcher search box. - CHROME_IOS_OMNIBOX, // Chrome searches through the address bar omnibox (iOS). - CHROME_IOS_RESERVED, // Reserved for Chrome on iOS. + // Chrome searches through the address bar omnibox (iOS) on tablet or phone. + CHROME_IOS_OMNIBOX_TABLET, + CHROME_IOS_OMNIBOX_MOBILE, CHROME_APP_LIST, // Chrome searches through the app launcher search box. CHROME_MAC_APP_LIST, // Chrome searches through the app launcher search box diff --git a/rlz/lib/rlz_lib.cc b/rlz/lib/rlz_lib.cc index 95e3e09..39bec27 100644 --- a/rlz/lib/rlz_lib.cc +++ b/rlz/lib/rlz_lib.cc @@ -30,7 +30,6 @@ bool IsAccessPointSupported(rlz_lib::AccessPoint point) { switch (point) { case rlz_lib::NO_ACCESS_POINT: case rlz_lib::LAST_ACCESS_POINT: - case rlz_lib::CHROME_IOS_RESERVED: case rlz_lib::MOBILE_IDLE_SCREEN_BLACKBERRY: case rlz_lib::MOBILE_IDLE_SCREEN_WINMOB: |