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 #include "chrome/browser/chrome_browser_main_linux.h" | 5 #include "chrome/browser/chrome_browser_main_linux.h" |
6 | 6 |
7 #if defined(USE_LINUX_BREAKPAD) | 7 #if defined(USE_LINUX_BREAKPAD) |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include "base/linux_util.h" | 10 #include "base/linux_util.h" |
11 #include "chrome/app/breakpad_linux.h" | 11 #include "chrome/app/breakpad_linuxish.h" |
12 #include "chrome/browser/prefs/pref_service.h" | 12 #include "chrome/browser/prefs/pref_service.h" |
13 #include "chrome/common/env_vars.h" | 13 #include "chrome/common/env_vars.h" |
14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
16 | 16 |
17 #if defined(OS_CHROMEOS) | 17 #if defined(OS_CHROMEOS) |
18 #include "chrome/browser/chromeos/cros_settings.h" | 18 #include "chrome/browser/chromeos/cros_settings.h" |
19 #include "chrome/browser/chromeos/cros_settings_names.h" | 19 #include "chrome/browser/chromeos/cros_settings_names.h" |
20 #include "chrome/common/chrome_switches.h" | 20 #include "chrome/common/chrome_switches.h" |
21 #include "chrome/common/chrome_version_info.h" | 21 #include "chrome/common/chrome_version_info.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 content::BrowserThread::PostTask(content::BrowserThread::FILE, | 77 content::BrowserThread::PostTask(content::BrowserThread::FILE, |
78 FROM_HERE, | 78 FROM_HERE, |
79 base::Bind(&GetLinuxDistroCallback)); | 79 base::Bind(&GetLinuxDistroCallback)); |
80 | 80 |
81 if (IsCrashReportingEnabled(local_state())) | 81 if (IsCrashReportingEnabled(local_state())) |
82 InitCrashReporter(); | 82 InitCrashReporter(); |
83 #endif | 83 #endif |
84 | 84 |
85 ChromeBrowserMainPartsPosix::PreProfileInit(); | 85 ChromeBrowserMainPartsPosix::PreProfileInit(); |
86 } | 86 } |
OLD | NEW |