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

Side by Side Diff: base/message_loop_unittest.cc

Issue 495002: Changes to base/ from a combination of FreeBSD and OpenBSD patches. (Closed)
Patch Set: minor tweaks Created 11 years 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
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 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/platform_thread.h" 7 #include "base/platform_thread.h"
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/thread.h" 9 #include "base/thread.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 QuitDelegate delegate; 1495 QuitDelegate delegate;
1496 message_loop.WatchFileDescriptor(fd, 1496 message_loop.WatchFileDescriptor(fd,
1497 true, MessageLoopForIO::WATCH_WRITE, &controller, &delegate); 1497 true, MessageLoopForIO::WATCH_WRITE, &controller, &delegate);
1498 controller.StopWatchingFileDescriptor(); 1498 controller.StopWatchingFileDescriptor();
1499 } 1499 }
1500 } 1500 }
1501 close(pipefds[0]); 1501 close(pipefds[0]);
1502 close(pipefds[1]); 1502 close(pipefds[1]);
1503 } 1503 }
1504 1504
1505 #endif // defined(OS_LINUX) 1505 #endif // defined(OS_POSIX)
OLDNEW
« base/message_loop.h ('K') | « base/message_loop.cc ('k') | base/mime_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698