From d2d743972bef83f5241f02765aa0f3e3a50d43bd Mon Sep 17 00:00:00 2001 From: "sdefresne@chromium.org" Date: Wed, 23 Oct 2013 15:09:38 +0000 Subject: Implements RLZ lib for iOS Use the OS X implementation of the RlzValueStore and derive the machine identifier from -[UIDevice identifierForVendor]. BUG=309629 Review URL: https://codereview.chromium.org/29873005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230429 0039d316-1c4b-4281-b951-d872f2087c98 --- rlz/lib/lib_values.cc | 4 ++-- rlz/lib/rlz_enums.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'rlz/lib') diff --git a/rlz/lib/lib_values.cc b/rlz/lib/lib_values.cc index c4ef460..8874a29 100644 --- a/rlz/lib/lib_values.cc +++ b/rlz/lib/lib_values.cc @@ -98,8 +98,8 @@ const char* GetAccessPointName(AccessPoint point) { case CHROMEOS_OMNIBOX: return "CA"; case CHROMEOS_HOME_PAGE: return "CB"; case CHROMEOS_RESERVED: return "CC"; - case UNDEFINED_AP_M: return "RM"; - case UNDEFINED_AP_N: return "RN"; + case CHROME_IOS_OMNIBOX: return "RM"; + case CHROME_IOS_HOME_PAGE: return "RN"; case UNDEFINED_AP_O: return "RO"; case UNDEFINED_AP_P: return "RP"; case UNDEFINED_AP_Q: return "RQ"; diff --git a/rlz/lib/rlz_enums.h b/rlz/lib/rlz_enums.h index 0fd0513..08d8bbb 100644 --- a/rlz/lib/rlz_enums.h +++ b/rlz/lib/rlz_enums.h @@ -62,11 +62,12 @@ enum AccessPoint { CHROMEOS_HOME_PAGE, // ChromeOS searches through Google as home page. CHROMEOS_RESERVED, // Reserved for ChromeOS. + CHROME_IOS_OMNIBOX, // Chrome searches through the address bar omnibox (iOS). + CHROME_IOS_HOME_PAGE,// Chrome searches through Google as home page (iOS). + // Unclaimed access points - should be used first before creating new APs. // Please also make sure you re-name the enum before using an unclaimed value; // this acts as a check to ensure we don't have collisions. - UNDEFINED_AP_M, - UNDEFINED_AP_N, UNDEFINED_AP_O, UNDEFINED_AP_P, UNDEFINED_AP_Q, -- cgit v1.1