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

Side by Side Diff: base/message_loop/message_pump.h

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_loop_unittest.cc ('k') | base/message_loop/message_pump_android.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 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_
6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h"
10 #include "base/message_loop/timer_slack.h" 9 #include "base/message_loop/timer_slack.h"
11 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
12 11
13 namespace base { 12 namespace base {
14 13
15 class TimeTicks; 14 class TimeTicks;
16 15
17 class BASE_EXPORT MessagePump : public NonThreadSafe { 16 class BASE_EXPORT MessagePump : public NonThreadSafe {
18 public: 17 public:
19 // Please see the comments above the Run method for an illustration of how 18 // Please see the comments above the Run method for an illustration of how
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // used on the thread that called Run. 122 // used on the thread that called Run.
124 virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0; 123 virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0;
125 124
126 // Sets the timer slack to the specified value. 125 // Sets the timer slack to the specified value.
127 virtual void SetTimerSlack(TimerSlack timer_slack); 126 virtual void SetTimerSlack(TimerSlack timer_slack);
128 }; 127 };
129 128
130 } // namespace base 129 } // namespace base
131 130
132 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_ 131 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_loop_unittest.cc ('k') | base/message_loop/message_pump_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698