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_posix.h" | 5 #include "chrome/browser/chrome_browser_main_posix.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <limits.h> | 8 #include <limits.h> |
9 #include <pthread.h> | 9 #include <pthread.h> |
10 #include <signal.h> | 10 #include <signal.h> |
11 #include <sys/resource.h> | 11 #include <sys/resource.h> |
12 #include <unistd.h> | 12 #include <unistd.h> |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/eintr_wrapper.h" | |
19 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "base/posix/eintr_wrapper.h" |
20 #include "base/string_number_conversions.h" | 20 #include "base/string_number_conversions.h" |
21 #include "chrome/browser/lifetime/application_lifetime.h" | 21 #include "chrome/browser/lifetime/application_lifetime.h" |
22 #include "chrome/common/chrome_switches.h" | 22 #include "chrome/common/chrome_switches.h" |
23 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
24 | 24 |
25 #if defined(TOOLKIT_GTK) | 25 #if defined(TOOLKIT_GTK) |
26 #include "chrome/browser/ui/gtk/chrome_browser_main_extra_parts_gtk.h" | 26 #include "chrome/browser/ui/gtk/chrome_browser_main_extra_parts_gtk.h" |
27 #include "chrome/browser/printing/print_dialog_gtk.h" | 27 #include "chrome/browser/printing/print_dialog_gtk.h" |
28 #endif | 28 #endif |
29 | 29 |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 ChromeBrowserMainExtraPartsGtk::ShowMessageBox( | 286 ChromeBrowserMainExtraPartsGtk::ShowMessageBox( |
287 chrome_browser::kMissingLocaleDataMessage); | 287 chrome_browser::kMissingLocaleDataMessage); |
288 #elif defined(USE_AURA) | 288 #elif defined(USE_AURA) |
289 // TODO(port): We may want a views based message dialog here eventually, but | 289 // TODO(port): We may want a views based message dialog here eventually, but |
290 // for now, crash. | 290 // for now, crash. |
291 NOTREACHED(); | 291 NOTREACHED(); |
292 #else | 292 #else |
293 #error "Need MessageBox implementation." | 293 #error "Need MessageBox implementation." |
294 #endif | 294 #endif |
295 } | 295 } |
OLD | NEW |