Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: chrome/browser/chrome_browser_main_posix.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main_posix.h ('k') | chrome/browser/chrome_browser_main_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h>
12 #include <string.h>
11 #include <sys/resource.h> 13 #include <sys/resource.h>
12 #include <unistd.h> 14 #include <unistd.h>
13 15
14 #include <string> 16 #include <string>
15 17
16 #include "base/bind.h" 18 #include "base/bind.h"
17 #include "base/command_line.h" 19 #include "base/command_line.h"
18 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "base/macros.h"
19 #include "base/posix/eintr_wrapper.h" 22 #include "base/posix/eintr_wrapper.h"
20 #include "base/strings/string_number_conversions.h" 23 #include "base/strings/string_number_conversions.h"
24 #include "build/build_config.h"
21 #include "chrome/browser/chrome_notification_types.h" 25 #include "chrome/browser/chrome_notification_types.h"
22 #include "chrome/browser/lifetime/application_lifetime.h" 26 #include "chrome/browser/lifetime/application_lifetime.h"
23 #include "chrome/browser/sessions/session_restore.h" 27 #include "chrome/browser/sessions/session_restore.h"
24 #include "chrome/common/chrome_switches.h" 28 #include "chrome/common/chrome_switches.h"
25 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
26 30
27 using content::BrowserThread; 31 using content::BrowserThread;
28 32
29 namespace { 33 namespace {
30 34
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // Not called on Mac because we load the locale files differently. 320 // Not called on Mac because we load the locale files differently.
317 NOTREACHED(); 321 NOTREACHED();
318 #elif defined(USE_AURA) 322 #elif defined(USE_AURA)
319 // TODO(port): We may want a views based message dialog here eventually, but 323 // TODO(port): We may want a views based message dialog here eventually, but
320 // for now, crash. 324 // for now, crash.
321 NOTREACHED(); 325 NOTREACHED();
322 #else 326 #else
323 #error "Need MessageBox implementation." 327 #error "Need MessageBox implementation."
324 #endif 328 #endif
325 } 329 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_posix.h ('k') | chrome/browser/chrome_browser_main_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698