| 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 #include <fontconfig/fontconfig.h> | 7 #include <fontconfig/fontconfig.h> |
| 8 | 8 |
| 9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 10 #include "components/breakpad/app/breakpad_linux.h" | 10 #include "components/crash/app/breakpad_linux.h" |
| 11 #include "components/metrics/metrics_service.h" | 11 #include "components/metrics/metrics_service.h" |
| 12 | 12 |
| 13 #if !defined(OS_CHROMEOS) | 13 #if !defined(OS_CHROMEOS) |
| 14 #include "base/linux_util.h" | 14 #include "base/linux_util.h" |
| 15 #include "chrome/browser/sxs_linux.h" | 15 #include "chrome/browser/sxs_linux.h" |
| 16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux( | 19 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux( |
| 20 const content::MainFunctionParams& parameters) | 20 const content::MainFunctionParams& parameters) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 | 49 |
| 50 ChromeBrowserMainPartsPosix::PreProfileInit(); | 50 ChromeBrowserMainPartsPosix::PreProfileInit(); |
| 51 } | 51 } |
| 52 | 52 |
| 53 void ChromeBrowserMainPartsLinux::PostProfileInit() { | 53 void ChromeBrowserMainPartsLinux::PostProfileInit() { |
| 54 ChromeBrowserMainPartsPosix::PostProfileInit(); | 54 ChromeBrowserMainPartsPosix::PostProfileInit(); |
| 55 | 55 |
| 56 g_browser_process->metrics_service()->RecordBreakpadRegistration( | 56 g_browser_process->metrics_service()->RecordBreakpadRegistration( |
| 57 breakpad::IsCrashReporterEnabled()); | 57 breakpad::IsCrashReporterEnabled()); |
| 58 } | 58 } |
| OLD | NEW |