Chromium Code Reviews| Index: content/shell/app/shell_main_delegate.cc |
| diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
| index ad2b4b8d32c3e9bffa8957192fd5dc79d836084a..88c7a6d45e5261119cbb8981cde01311749dcfc3 100644 |
| --- a/content/shell/app/shell_main_delegate.cc |
| +++ b/content/shell/app/shell_main_delegate.cc |
| @@ -6,6 +6,7 @@ |
| #include "base/base_switches.h" |
| #include "base/command_line.h" |
| +#include "base/cpu.h" |
| #include "base/files/file.h" |
| #include "base/files/file_path.h" |
| #include "base/lazy_instance.h" |
| @@ -185,6 +186,13 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
| } |
| void ShellMainDelegate::PreSandboxStartup() { |
| +#if defined(ARCH_CPU_ARM_FAMILY) |
| +#if defined(OS_ANDROID) || defined(USE_AURA) |
|
Mark Mentovai
2014/03/11 16:17:48
Pull this whole thing into a single #ifdef:
#if d
rptr
2014/03/12 15:26:25
Done.
|
| + // Create an instance CPU class to parse /proc/cpuinfo and cache cpu_brand |
|
Mark Mentovai
2014/03/11 16:17:48
“instance of the CPU class”
rptr
2014/03/12 15:26:25
Done.
|
| + // info. |
| + base::CPU cpu_info; |
| +#endif |
| +#endif |
| if (CommandLine::ForCurrentProcess()->HasSwitch( |
| switches::kEnableCrashReporter)) { |
| std::string process_type = |