Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: trunk/src/rlz/lib/lib_values.cc

Issue 239633002: Revert 263828 "Do not reserve an access point code for CHROME_IO..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "rlz/lib/assert.h" 10 #include "rlz/lib/assert.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 case PARTNER_AP_2: return "V2"; 92 case PARTNER_AP_2: return "V2";
93 case PARTNER_AP_3: return "V3"; 93 case PARTNER_AP_3: return "V3";
94 case PARTNER_AP_4: return "V4"; 94 case PARTNER_AP_4: return "V4";
95 case PARTNER_AP_5: return "V5"; 95 case PARTNER_AP_5: return "V5";
96 case CHROME_MAC_OMNIBOX: return "C5"; 96 case CHROME_MAC_OMNIBOX: return "C5";
97 case CHROME_MAC_HOME_PAGE: return "C6"; 97 case CHROME_MAC_HOME_PAGE: return "C6";
98 case CHROMEOS_OMNIBOX: return "CA"; 98 case CHROMEOS_OMNIBOX: return "CA";
99 case CHROMEOS_HOME_PAGE: return "CB"; 99 case CHROMEOS_HOME_PAGE: return "CB";
100 case CHROMEOS_APP_LIST: return "CC"; 100 case CHROMEOS_APP_LIST: return "CC";
101 case CHROME_IOS_OMNIBOX: return "C9"; 101 case CHROME_IOS_OMNIBOX: return "C9";
102 // Note: this enumeration does not correspond to a real access point and 102 case CHROME_IOS_RESERVED: return "C0";
103 // should never be used. Fails back to the default that raises an assert.
104 case CHROME_IOS_RESERVED: break;
105 case CHROME_APP_LIST: return "C7"; 103 case CHROME_APP_LIST: return "C7";
106 case CHROME_MAC_APP_LIST: return "C8"; 104 case CHROME_MAC_APP_LIST: return "C8";
107 case UNDEFINED_AP_Q: return "RQ"; 105 case UNDEFINED_AP_Q: return "RQ";
108 case UNDEFINED_AP_R: return "RR"; 106 case UNDEFINED_AP_R: return "RR";
109 case UNDEFINED_AP_S: return "RS"; 107 case UNDEFINED_AP_S: return "RS";
110 case UNDEFINED_AP_T: return "RT"; 108 case UNDEFINED_AP_T: return "RT";
111 case UNDEFINED_AP_U: return "RU"; 109 case UNDEFINED_AP_U: return "RU";
112 case UNDEFINED_AP_V: return "RV"; 110 case UNDEFINED_AP_V: return "RV";
113 case UNDEFINED_AP_W: return "RW"; 111 case UNDEFINED_AP_W: return "RW";
114 case UNDEFINED_AP_X: return "RX"; 112 case UNDEFINED_AP_X: return "RX";
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 case WEBAPPS: return "W"; 199 case WEBAPPS: return "W";
202 case PINYIN_IME: return "N"; 200 case PINYIN_IME: return "N";
203 case PARTNER: return "V"; 201 case PARTNER: return "V";
204 } 202 }
205 203
206 ASSERT_STRING("GetProductName: Unknown Product"); 204 ASSERT_STRING("GetProductName: Unknown Product");
207 return ""; 205 return "";
208 } 206 }
209 207
210 } // namespace rlz_lib 208 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698