| OLD | NEW |
| 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 "base/message_pump_glib.h" | 5 #include "base/message_pump_glib.h" |
| 6 | 6 |
| 7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <math.h> | 8 #include <math.h> |
| 9 | 9 |
| 10 #include <glib.h> | 10 #include <glib.h> |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 g_source_unref(work_source_); | 326 g_source_unref(work_source_); |
| 327 close(wakeup_pipe_read_); | 327 close(wakeup_pipe_read_); |
| 328 close(wakeup_pipe_write_); | 328 close(wakeup_pipe_write_); |
| 329 } | 329 } |
| 330 | 330 |
| 331 MessagePumpDispatcher* MessagePumpGlib::GetDispatcher() { | 331 MessagePumpDispatcher* MessagePumpGlib::GetDispatcher() { |
| 332 return state_ ? state_->dispatcher : NULL; | 332 return state_ ? state_->dispatcher : NULL; |
| 333 } | 333 } |
| 334 | 334 |
| 335 } // namespace base | 335 } // namespace base |
| OLD | NEW |