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

Side by Side Diff: base/message_loop/message_pump_mac.mm

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too 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 | « base/message_loop/message_pump_mac.h ('k') | base/message_loop/message_pump_perftest.cc » ('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 #import "base/message_loop/message_pump_mac.h" 5 #import "base/message_loop/message_pump_mac.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include <limits> 10 #include <limits>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/mac/call_with_eh_frame.h" 13 #include "base/mac/call_with_eh_frame.h"
14 #include "base/mac/scoped_cftyperef.h" 14 #include "base/mac/scoped_cftyperef.h"
15 #include "base/macros.h"
15 #include "base/message_loop/timer_slack.h" 16 #include "base/message_loop/timer_slack.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
17 #include "base/time/time.h" 18 #include "base/time/time.h"
19 #include "build/build_config.h"
18 20
19 #if !defined(OS_IOS) 21 #if !defined(OS_IOS)
20 #import <AppKit/AppKit.h> 22 #import <AppKit/AppKit.h>
21 #endif // !defined(OS_IOS) 23 #endif // !defined(OS_IOS)
22 24
23 namespace base { 25 namespace base {
24 26
25 namespace { 27 namespace {
26 28
27 void CFRunLoopAddSourceToAllModes(CFRunLoopRef rl, CFRunLoopSourceRef source) { 29 void CFRunLoopAddSourceToAllModes(CFRunLoopRef rl, CFRunLoopSourceRef source) {
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 [NSApplication sharedApplication]; 784 [NSApplication sharedApplication];
783 g_not_using_cr_app = true; 785 g_not_using_cr_app = true;
784 return new MessagePumpNSApplication; 786 return new MessagePumpNSApplication;
785 #endif 787 #endif
786 } 788 }
787 789
788 return new MessagePumpNSRunLoop; 790 return new MessagePumpNSRunLoop;
789 } 791 }
790 792
791 } // namespace base 793 } // namespace base
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_mac.h ('k') | base/message_loop/message_pump_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698