summaryrefslogtreecommitdiffstats
path: root/base/message_pump_libevent_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move message_pump to base/message_loop.brettw@chromium.org2013-06-181-162/+0
| | | | | | | | | | | | This also fixes some namespace usage inside the message pump files and updates all users of these files to use the new location. Reland of 206507. Original review https://codereview.chromium.org/17078005/ TBR=sky Review URL: https://codereview.chromium.org/16897006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207075 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 206507 "Move message_pump to base/message_loop."brettw@chromium.org2013-06-141-0/+162
| | | | | | | | | | | | | | | | | > Move message_pump to base/message_loop. > > This also fixes some namespace usage inside the message pump files and updates all users of these files to use the new location. > > BUG= > R=sky@chromium.org > > Review URL: https://codereview.chromium.org/17078005 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/16897005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206513 0039d316-1c4b-4281-b951-d872f2087c98
* Move message_pump to base/message_loop.brettw@chromium.org2013-06-141-162/+0
| | | | | | | | | | | This also fixes some namespace usage inside the message pump files and updates all users of these files to use the new location. BUG= R=sky@chromium.org Review URL: https://codereview.chromium.org/17078005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206507 0039d316-1c4b-4281-b951-d872f2087c98
* Update base/ to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-05-311-2/+2
| | | | | | | | | | | Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16160015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203483 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing, and remove unnecessary, 'explicit' from constructors. (base/)hans@chromium.org2013-01-151-1/+1
| | | | | | | | | | | | | | | The style guide says that constructors which can be called with one argument should be explicit. For constructors which cannot be called with exactly one argument, there is no reason to mark them explicit. BUG=163357 Review URL: https://chromiumcodereview.appspot.com/11779022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176881 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: use generated shim headers for libevent.phajdan.jr@chromium.org2012-12-191-5/+0
| | | | | | | | BUG=165264 Review URL: https://codereview.chromium.org/11644007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173814 0039d316-1c4b-4281-b951-d872f2087c98
* Provide an iOS message pump for IO implementation.blundell@chromium.org2012-11-301-3/+5
| | | | | | | | | The implementation is done as a subclass of MessagePumpNSRunLoop. It is conceptually quite similar to the libevent implementation (message_pump_libevent*), on which it is based. Review URL: https://chromiumcodereview.appspot.com/11412101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170470 0039d316-1c4b-4281-b951-d872f2087c98
* Move eintr_wrapper.h from base to base/posixbrettw@chromium.org2012-11-141-1/+1
| | | | | | Review URL: https://codereview.chromium.org/11366229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167739 0039d316-1c4b-4281-b951-d872f2087c98
* Fix failed apk unit test case MessagePumpLibeventTest.* on Android.shouqun.liu@intel.com2012-07-111-24/+40
| | | | | | | | | | | | | | | | The MessagePumpLibeventTest.StopWatcher and MessagePumpLibeventTest.DeleteWatcher use fd 0, which is not permitted in apk test while calling 'epoll_ctl', and cause failure on Android. Fix this by using fd created from pipe. Also remove them from Android disabled case list. BUG=None TEST=base_unittests Review URL: https://chromiumcodereview.appspot.com/10698112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146041 0039d316-1c4b-4281-b951-d872f2087c98
* Added DCHECKS for speculative leak condition.scr@chromium.org2012-06-011-2/+6
| | | | | | | | | | | R=willchan@chromium.org BUG=16661 TEST=unit_tests Review URL: https://chromiumcodereview.appspot.com/10447131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139998 0039d316-1c4b-4281-b951-d872f2087c98
* Add virtual and OVERRIDE to base/ implementation filesrsleevi@chromium.org2012-04-061-7/+7
| | | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/10004001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131098 0039d316-1c4b-4281-b951-d872f2087c98
* Enable ThreadChecker in non-debug builds if DCHECK_ALWAYS_ON isjoi@chromium.org2012-01-041-4/+4
| | | | | | | | | | | | | defined. This brings thread checking to e.g. the *_rel trybots. BUG=108227 Review URL: http://codereview.chromium.org/9020008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116350 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup for r93201.wtc@chromium.org2011-07-211-1/+0
| | | | | | | | | | | | | | | | The initializer for watcher_ in the FileDescriptorWatcher constructor was deleted accidentally. USE_SYSTEM_LIBEVENT is defined by the build system, so we don't need to include "build/build_config.h". R=willchan@chromium.org BUG=88134 TEST=MessagePumpLibeventTest.* Review URL: http://codereview.chromium.org/7473017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93460 0039d316-1c4b-4281-b951-d872f2087c98
* Handle object deletion in FileDescriptorWatcher callback.willchan@chromium.org2011-07-201-11/+91
| | | | | | | | | | BUG=88134 TEST=MessagePumpLibeventTest.* Review URL: http://codereview.chromium.org/7398036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93201 0039d316-1c4b-4281-b951-d872f2087c98
* net doesn't depend on libevent directly now.wtc@chromium.org2011-06-221-1/+1
| | | | | | | | | | | | | | | | Remove unnecessary forward declarations of struct event and inclusions of the event.h header. Use MessageLoopForIO::FileDescriptorWatcher and MessageLoopForIO::Watcher typedefs. R=mark@chromium.org,rvargas@chromium.org BUG=none TEST=no build errors Review URL: http://codereview.chromium.org/7232002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89995 0039d316-1c4b-4281-b951-d872f2087c98
* Add thread check to WatchFileDescriptor.dmaclach@chromium.org2011-05-131-0/+66
I had a case where I was accidentally calling WatchFileDescriptor from another thread, and it took me a while to debug why I was having problems. This check would've immediately caught my error for me. BUG=none TEST=build Review URL: http://codereview.chromium.org/6410035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85271 0039d316-1c4b-4281-b951-d872f2087c98