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

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

Issue 235893016: Some cleanups for the message_loop.h/cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 8 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
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | no next file » | 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_GLIB_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_GLIB_H_
6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_GLIB_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_GLIB_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_pump.h" 10 #include "base/message_loop/message_pump.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // mechanism g_main_context_wakeup, but this won't guarantee that our event's 66 // mechanism g_main_context_wakeup, but this won't guarantee that our event's
67 // Dispatch() will be called. 67 // Dispatch() will be called.
68 int wakeup_pipe_read_; 68 int wakeup_pipe_read_;
69 int wakeup_pipe_write_; 69 int wakeup_pipe_write_;
70 // Use a scoped_ptr to avoid needing the definition of GPollFD in the header. 70 // Use a scoped_ptr to avoid needing the definition of GPollFD in the header.
71 scoped_ptr<GPollFD> wakeup_gpollfd_; 71 scoped_ptr<GPollFD> wakeup_gpollfd_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(MessagePumpGlib); 73 DISALLOW_COPY_AND_ASSIGN(MessagePumpGlib);
74 }; 74 };
75 75
76 typedef MessagePumpGlib MessagePumpForUI;
77
78 } // namespace base 76 } // namespace base
79 77
80 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_GLIB_H_ 78 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_GLIB_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698