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

Side by Side Diff: chrome/common/omaha_query_params.cc

Issue 14211005: [MIPS] Add "mipsel" to kArch in OmahaQueryParams (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« 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 #include "chrome/common/omaha_query_params.h" 5 #include "chrome/common/omaha_query_params.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/win/windows_version.h" 9 #include "base/win/windows_version.h"
10 #include "chrome/common/chrome_version_info.h" 10 #include "chrome/common/chrome_version_info.h"
(...skipping 21 matching lines...) Expand all
32 #error "unknown os" 32 #error "unknown os"
33 #endif 33 #endif
34 34
35 const char kArch[] = 35 const char kArch[] =
36 #if defined(__amd64__) || defined(_WIN64) 36 #if defined(__amd64__) || defined(_WIN64)
37 "x64"; 37 "x64";
38 #elif defined(__i386__) || defined(_WIN32) 38 #elif defined(__i386__) || defined(_WIN32)
39 "x86"; 39 "x86";
40 #elif defined(__arm__) 40 #elif defined(__arm__)
41 "arm"; 41 "arm";
42 #elif defined(__mips__)
43 "mipsel";
asargent_no_longer_on_chrome 2013/04/18 21:39:35 Is it intended that this differs from the value be
petarj 2013/04/18 23:39:17 Yes, naming scheme for MIPS was discussed previous
42 #else 44 #else
43 #error "unknown arch" 45 #error "unknown arch"
44 #endif 46 #endif
45 47
46 const char kChrome[] = "chrome"; 48 const char kChrome[] = "chrome";
47 const char kChromeCrx[] = "chromecrx"; 49 const char kChromeCrx[] = "chromecrx";
48 const char kChromiumCrx[] = "chromiumcrx"; 50 const char kChromiumCrx[] = "chromiumcrx";
49 51
50 const char* GetProdIdString(chrome::OmahaQueryParams::ProdId prod) { 52 const char* GetProdIdString(chrome::OmahaQueryParams::ProdId prod) {
51 switch (prod) { 53 switch (prod) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 #elif defined(ARCH_CPU_MIPSEL) 132 #elif defined(ARCH_CPU_MIPSEL)
131 return "mips32"; 133 return "mips32";
132 #else 134 #else
133 // NOTE: when adding new values here, please remember to update the 135 // NOTE: when adding new values here, please remember to update the
134 // comment in the .h file about possible return values from this function. 136 // comment in the .h file about possible return values from this function.
135 #error "You need to add support for your architecture here" 137 #error "You need to add support for your architecture here"
136 #endif 138 #endif
137 } 139 }
138 140
139 } // namespace chrome 141 } // namespace chrome
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