summaryrefslogtreecommitdiffstats
path: root/rlz
diff options
context:
space:
mode:
authorsammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 22:29:50 +0000
committersammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 22:29:50 +0000
commit54383cba353f0db58536c8d3b49388a14931e83c (patch)
tree9bcef23f7a8268b738f8e037e51eeeacc4dd1df6 /rlz
parent223bb3e377e68427087569142cd72c18be28e114 (diff)
downloadchromium_src-54383cba353f0db58536c8d3b49388a14931e83c.zip
chromium_src-54383cba353f0db58536c8d3b49388a14931e83c.tar.gz
chromium_src-54383cba353f0db58536c8d3b49388a14931e83c.tar.bz2
Add RLZ Access points for the app launcher.
Currently, searches using the app launcher search box use the RLZ access point for the omnibox. We want to be able to distinguish between search requests from these two sources. This change adds new RLZ access points to be used for searches via the app launcher. BUG=332996 Review URL: https://codereview.chromium.org/220193005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz')
-rw-r--r--rlz/lib/lib_values.cc6
-rw-r--r--rlz/lib/rlz_enums.h8
2 files changed, 8 insertions, 6 deletions
diff --git a/rlz/lib/lib_values.cc b/rlz/lib/lib_values.cc
index 8874a29..8047a9a 100644
--- a/rlz/lib/lib_values.cc
+++ b/rlz/lib/lib_values.cc
@@ -97,11 +97,11 @@ const char* GetAccessPointName(AccessPoint point) {
case CHROME_MAC_HOME_PAGE: return "C6";
case CHROMEOS_OMNIBOX: return "CA";
case CHROMEOS_HOME_PAGE: return "CB";
- case CHROMEOS_RESERVED: return "CC";
+ case CHROMEOS_APP_LIST: return "CC";
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 CHROME_APP_LIST: return "C7";
+ case CHROME_MAC_APP_LIST: return "C8";
case UNDEFINED_AP_Q: return "RQ";
case UNDEFINED_AP_R: return "RR";
case UNDEFINED_AP_S: return "RS";
diff --git a/rlz/lib/rlz_enums.h b/rlz/lib/rlz_enums.h
index 08d8bbb..3bfcf64 100644
--- a/rlz/lib/rlz_enums.h
+++ b/rlz/lib/rlz_enums.h
@@ -60,16 +60,18 @@ enum AccessPoint {
CHROMEOS_OMNIBOX, // ChromeOS searches through the address bar omnibox.
CHROMEOS_HOME_PAGE, // ChromeOS searches through Google as home page.
- CHROMEOS_RESERVED, // Reserved for ChromeOS.
+ CHROMEOS_APP_LIST, // ChromeOS searches through the app launcher search box.
CHROME_IOS_OMNIBOX, // Chrome searches through the address bar omnibox (iOS).
CHROME_IOS_HOME_PAGE,// Chrome searches through Google as home page (iOS).
+ CHROME_APP_LIST, // Chrome searches through the app launcher search box.
+ CHROME_MAC_APP_LIST, // Chrome searches through the app launcher search box
+ // (Mac).
+
// 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_O,
- UNDEFINED_AP_P,
UNDEFINED_AP_Q,
UNDEFINED_AP_R,
UNDEFINED_AP_S,