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

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

Issue 218663003: Make ARM64 detection consistent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch "arm64" string 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 | « build/build_config.h ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/browser/omaha_query_params/omaha_query_params.h" 5 #include "chrome/browser/omaha_query_params/omaha_query_params.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/win/windows_version.h" 9 #include "base/win/windows_version.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 22 matching lines...) Expand all
33 #error "unknown os" 33 #error "unknown os"
34 #endif 34 #endif
35 35
36 const char kArch[] = 36 const char kArch[] =
37 #if defined(__amd64__) || defined(_WIN64) 37 #if defined(__amd64__) || defined(_WIN64)
38 "x64"; 38 "x64";
39 #elif defined(__i386__) || defined(_WIN32) 39 #elif defined(__i386__) || defined(_WIN32)
40 "x86"; 40 "x86";
41 #elif defined(__arm__) 41 #elif defined(__arm__)
42 "arm"; 42 "arm";
43 #elif defined(__arm64__) 43 #elif defined(__aarch64__)
44 "arm64"; 44 "arm64";
45 #elif defined(__mips__) 45 #elif defined(__mips__)
46 "mipsel"; 46 "mipsel";
47 #else 47 #else
48 #error "unknown arch" 48 #error "unknown arch"
49 #endif 49 #endif
50 50
51 const char kChrome[] = "chrome"; 51 const char kChrome[] = "chrome";
52 52
53 const char kStable[] = "stable"; 53 const char kStable[] = "stable";
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 break; 151 break;
152 } 152 }
153 return kUnknown; 153 return kUnknown;
154 } 154 }
155 155
156 const char* OmahaQueryParams::GetLang() { 156 const char* OmahaQueryParams::GetLang() {
157 return g_browser_process->GetApplicationLocale().c_str(); 157 return g_browser_process->GetApplicationLocale().c_str();
158 } 158 }
159 159
160 } // namespace chrome 160 } // namespace chrome
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698