OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Key and value names of the location of the RLZ shared state. | 5 // Key and value names of the location of the RLZ shared state. |
6 | 6 |
7 #include "rlz/lib/lib_values.h" | 7 #include "rlz/lib/lib_values.h" |
8 | 8 |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "rlz/lib/assert.h" | 10 #include "rlz/lib/assert.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 case IE_DEFAULT_SEARCH: return "I7"; | 62 case IE_DEFAULT_SEARCH: return "I7"; |
63 case IE_HOME_PAGE: return "W1"; | 63 case IE_HOME_PAGE: return "W1"; |
64 case IETB_SEARCH_BOX: return "T4"; | 64 case IETB_SEARCH_BOX: return "T4"; |
65 case QUICK_SEARCH_BOX: return "Q1"; | 65 case QUICK_SEARCH_BOX: return "Q1"; |
66 case GD_DESKBAND: return "D1"; | 66 case GD_DESKBAND: return "D1"; |
67 case GD_SEARCH_GADGET: return "D2"; | 67 case GD_SEARCH_GADGET: return "D2"; |
68 case GD_WEB_SERVER: return "D3"; | 68 case GD_WEB_SERVER: return "D3"; |
69 case GD_OUTLOOK: return "D4"; | 69 case GD_OUTLOOK: return "D4"; |
70 case CHROME_OMNIBOX: return "C1"; | 70 case CHROME_OMNIBOX: return "C1"; |
71 case CHROME_HOME_PAGE: return "C2"; | 71 case CHROME_HOME_PAGE: return "C2"; |
72 case CHROME_MAC_OMNIBOX: return "C5"; | |
73 case CHROME_MAC_HOME_PAGE: return "C6"; | |
Roger Tawa OOO till Jul 10th
2012/07/03 18:11:09
Should keep these at lines 96 and 97, same order a
Nico
2012/07/03 18:18:08
Done.
| |
72 case FFTB2_BOX: return "B2"; | 74 case FFTB2_BOX: return "B2"; |
73 case FFTB3_BOX: return "B3"; | 75 case FFTB3_BOX: return "B3"; |
74 case PINYIN_IME_BHO: return "N1"; | 76 case PINYIN_IME_BHO: return "N1"; |
75 case IGOOGLE_WEBPAGE: return "G1"; | 77 case IGOOGLE_WEBPAGE: return "G1"; |
76 case MOBILE_IDLE_SCREEN_BLACKBERRY: return "H1"; | 78 case MOBILE_IDLE_SCREEN_BLACKBERRY: return "H1"; |
77 case MOBILE_IDLE_SCREEN_WINMOB: return "H2"; | 79 case MOBILE_IDLE_SCREEN_WINMOB: return "H2"; |
78 case MOBILE_IDLE_SCREEN_SYMBIAN: return "H3"; | 80 case MOBILE_IDLE_SCREEN_SYMBIAN: return "H3"; |
79 case FF_HOME_PAGE: return "R0"; | 81 case FF_HOME_PAGE: return "R0"; |
80 case FF_SEARCH_BOX: return "R1"; | 82 case FF_SEARCH_BOX: return "R1"; |
81 case IE_BROWSED_PAGE: return "R2"; | 83 case IE_BROWSED_PAGE: return "R2"; |
82 case QSB_WIN_BOX: return "R3"; | 84 case QSB_WIN_BOX: return "R3"; |
83 case WEBAPPS_CALENDAR: return "R4"; | 85 case WEBAPPS_CALENDAR: return "R4"; |
84 case WEBAPPS_DOCS: return "R5"; | 86 case WEBAPPS_DOCS: return "R5"; |
85 case WEBAPPS_GMAIL: return "R6"; | 87 case WEBAPPS_GMAIL: return "R6"; |
86 case IETB_LINKDOCTOR: return "R7"; | 88 case IETB_LINKDOCTOR: return "R7"; |
87 case FFTB_LINKDOCTOR: return "R8"; | 89 case FFTB_LINKDOCTOR: return "R8"; |
88 case IETB7_SEARCH_BOX: return "T7"; | 90 case IETB7_SEARCH_BOX: return "T7"; |
89 case TB8_SEARCH_BOX: return "T8"; | 91 case TB8_SEARCH_BOX: return "T8"; |
90 case CHROME_FRAME: return "C3"; | 92 case CHROME_FRAME: return "C3"; |
91 case PARTNER_AP_1: return "V1"; | 93 case PARTNER_AP_1: return "V1"; |
92 case PARTNER_AP_2: return "V2"; | 94 case PARTNER_AP_2: return "V2"; |
93 case PARTNER_AP_3: return "V3"; | 95 case PARTNER_AP_3: return "V3"; |
94 case PARTNER_AP_4: return "V4"; | 96 case PARTNER_AP_4: return "V4"; |
95 case PARTNER_AP_5: return "V5"; | 97 case PARTNER_AP_5: return "V5"; |
96 case UNDEFINED_AP_H: return "RH"; | |
97 case UNDEFINED_AP_I: return "RI"; | |
98 case UNDEFINED_AP_J: return "RJ"; | 98 case UNDEFINED_AP_J: return "RJ"; |
99 case UNDEFINED_AP_K: return "RK"; | 99 case UNDEFINED_AP_K: return "RK"; |
100 case UNDEFINED_AP_L: return "RL"; | 100 case UNDEFINED_AP_L: return "RL"; |
101 case UNDEFINED_AP_M: return "RM"; | 101 case UNDEFINED_AP_M: return "RM"; |
102 case UNDEFINED_AP_N: return "RN"; | 102 case UNDEFINED_AP_N: return "RN"; |
103 case UNDEFINED_AP_O: return "RO"; | 103 case UNDEFINED_AP_O: return "RO"; |
104 case UNDEFINED_AP_P: return "RP"; | 104 case UNDEFINED_AP_P: return "RP"; |
105 case UNDEFINED_AP_Q: return "RQ"; | 105 case UNDEFINED_AP_Q: return "RQ"; |
106 case UNDEFINED_AP_R: return "RR"; | 106 case UNDEFINED_AP_R: return "RR"; |
107 case UNDEFINED_AP_S: return "RS"; | 107 case UNDEFINED_AP_S: return "RS"; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
199 case WEBAPPS: return "W"; | 199 case WEBAPPS: return "W"; |
200 case PINYIN_IME: return "N"; | 200 case PINYIN_IME: return "N"; |
201 case PARTNER: return "V"; | 201 case PARTNER: return "V"; |
202 } | 202 } |
203 | 203 |
204 ASSERT_STRING("GetProductName: Unknown Product"); | 204 ASSERT_STRING("GetProductName: Unknown Product"); |
205 return ""; | 205 return ""; |
206 } | 206 } |
207 | 207 |
208 } // namespace rlz_lib | 208 } // namespace rlz_lib |
OLD | NEW |