| 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.h" | 5 #include "chrome/browser/chrome_browser_main.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/debug/debugger.h" | 8 #include "base/debug/debugger.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "chrome/browser/browser_shutdown.h" | 10 #include "chrome/browser/browser_shutdown.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 #else | 75 #else |
| 76 metrics->RecordBreakpadRegistration(false); | 76 metrics->RecordBreakpadRegistration(false); |
| 77 #endif | 77 #endif |
| 78 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged()); | 78 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged()); |
| 79 } | 79 } |
| 80 | 80 |
| 81 void WarnAboutMinimumSystemRequirements() { | 81 void WarnAboutMinimumSystemRequirements() { |
| 82 // Nothing to warn about on X11 right now. | 82 // Nothing to warn about on X11 right now. |
| 83 } | 83 } |
| 84 | 84 |
| 85 void RecordBrowserStartupTime() { | |
| 86 // Not implemented on X11 for now. | |
| 87 } | |
| 88 | |
| 89 // From browser_main_win.h, stubs until we figure out the right thing... | 85 // From browser_main_win.h, stubs until we figure out the right thing... |
| 90 | 86 |
| 91 int DoUninstallTasks(bool chrome_still_running) { | 87 int DoUninstallTasks(bool chrome_still_running) { |
| 92 return content::RESULT_CODE_NORMAL_EXIT; | 88 return content::RESULT_CODE_NORMAL_EXIT; |
| 93 } | 89 } |
| 94 | 90 |
| 95 void SetBrowserX11ErrorHandlers() { | 91 void SetBrowserX11ErrorHandlers() { |
| 96 // Set up error handlers to make sure profile gets written if X server | 92 // Set up error handlers to make sure profile gets written if X server |
| 97 // goes away. | 93 // goes away. |
| 98 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler); | 94 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler); |
| 99 } | 95 } |
| OLD | NEW |