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

Side by Side Diff: base/message_pump.h

Issue 6714032: Move some files in base to base/memory. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: only base Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_PUMP_H_ 5 #ifndef BASE_MESSAGE_PUMP_H_
6 #define BASE_MESSAGE_PUMP_H_ 6 #define BASE_MESSAGE_PUMP_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 10
11 namespace base { 11 namespace base {
12 12
13 class TimeTicks; 13 class TimeTicks;
14 14
15 class MessagePump : public RefCountedThreadSafe<MessagePump> { 15 class MessagePump : public RefCountedThreadSafe<MessagePump> {
16 public: 16 public:
17 // Please see the comments above the Run method for an illustration of how 17 // Please see the comments above the Run method for an illustration of how
18 // these delegate methods are used. 18 // these delegate methods are used.
19 class Delegate { 19 class Delegate {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Schedule a DoDelayedWork callback to happen at the specified time, 118 // Schedule a DoDelayedWork callback to happen at the specified time,
119 // cancelling any pending DoDelayedWork callback. This method may only be 119 // cancelling any pending DoDelayedWork callback. This method may only be
120 // used on the thread that called Run. 120 // used on the thread that called Run.
121 virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0; 121 virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0;
122 }; 122 };
123 123
124 } // namespace base 124 } // namespace base
125 125
126 #endif // BASE_MESSAGE_PUMP_H_ 126 #endif // BASE_MESSAGE_PUMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698