summaryrefslogtreecommitdiffstats
path: root/remoting/base/auto_thread_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Clean up remaining unused globals (on mac).thakis@chromium.org2013-09-261-1/+0
| | | | | | | | | | | | Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, jamesr@chromium.org, koz@chromium.org, piman@chromium.org, sergeyu@chromium.org, thestig@chromium.org, vitalybuka@chromium.org TBR=cpu, dmichael, joi, xhwang Review URL: https://codereview.chromium.org/24579003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225281 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Use base::MessageLoop.xhwang@chromium.org2013-04-301-10/+13
| | | | | | | | | BUG=236029 R=alexeypa@chromium.org Review URL: https://chromiumcodereview.appspot.com/14314026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197247 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-241-1/+1
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Convert FilePath to base::FilePath.brettw@chromium.org2013-02-191-1/+1
| | | | | | | | | | This removes the using for Windows since it is no longer necessary. BUG= Review URL: https://codereview.chromium.org/12303016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183170 0039d316-1c4b-4281-b951-d872f2087c98
* Add COM initialization support to AutoThread.wez@chromium.org2012-11-281-1/+85
| | | | | | | | | | | | | | | | This CL adds SetComInitType(), which can be used to configure an AutoThread for a single- or multi-threaded COM apartment before calling Start(), and a creator function providing equivalent capability. This is a re-land of crrev.com/11348087. BUG=145856 TBR=alexeypa Review URL: https://chromiumcodereview.appspot.com/11413193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169886 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 169595 - Add AutoThread types for Windows that initialize COM.joi@chromium.org2012-11-271-64/+1
| | | | | | | | | | | | | | | | | | | This CL adds AutoThread types that create a UI MessageLoop on the thread and initialize COM for single- or multi-threaded used. BUG=145856 Review URL: https://chromiumcodereview.appspot.com/11348087 Speculative revert to fix deterministic failures in remoting_unittests that are without log output; they were introduced by one of three changes, and this is the only one that touches remoting. TBR=wez@chromium.org Review URL: https://codereview.chromium.org/11299194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169604 0039d316-1c4b-4281-b951-d872f2087c98
* Add AutoThread types for Windows that initialize COM.wez@chromium.org2012-11-271-1/+64
| | | | | | | | | | | | This CL adds AutoThread types that create a UI MessageLoop on the thread and initialize COM for single- or multi-threaded used. BUG=145856 Review URL: https://chromiumcodereview.appspot.com/11348087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169595 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of AutoThread.wez@chromium.org2012-10-101-0/+115
AutoThreads work much like base::Threads with the difference that the AutoThread will run until the last reference to its TaskRunner has been dropped. When the owner deletes the AutoThread they will be blocked until the thread is ready to be joined. AutoThread simplifies teardown of multi-threaded code by ensuring that threads persist until no code remains that may need to use them. BUG=145856 Review URL: https://chromiumcodereview.appspot.com/10919081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161030 0039d316-1c4b-4281-b951-d872f2087c98