0
Commit Graph

42 Commits

Author SHA1 Message Date
Avi Drissman
821ca309ed Update header includes for /base/functional in /p*
bind.h, callback.h, callback_forward.h, and callback_helpers.h
moved into /base/functional/. Update the include paths to
directly include them in their new location.

Bug: 1364441
Change-Id: I36784c7cc322001d0b0ec2590c3847f4298033ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4157596
Owners-Override: Avi Drissman <avi@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1091526}
2023-01-11 22:42:15 +00:00
Sean Maher
5b9af51fdd task posting v3: moving away from ThreadTaskRunnerHandle
To continue the migration away from TaskRunnerHandles, the codebase
was refactored using the following scripts:
shell script:
https://paste.googleplex.com/4673967729147904
python:
https://paste.googleplex.com/5824001174667264

This will do a few sed-like modifications, changing calls to methods of
ThreadTaskRunnerHandle to calls to methods of
SingleThreadTaskRunner::CurrentDefaultHandle, and swapping includes.

Bug: 1026641
AX-Relnotes: n/a.
Change-Id: Ia33b6dfebb15937481c619f5c838720ce7bb2676
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4031817
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Owners-Override: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1074085}
2022-11-21 15:32:47 +00:00
Avi Drissman
db497b3200 Update copyright headers in pdf/, ppapi/, printing/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c95.

No-Try: true
Bug: 1098010
Change-Id: I6ae92e5d7ccbf73b176588124b2f8b4067f805b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3900575
Reviewed-by: Mark Mentovai <mark@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047628}
2022-09-15 19:47:28 +00:00
Peter Kasting
e5a38eddbd Migrate "base::TimeDelta::FromX" to "base:X".
All changes were done automatically with git grep, sed, xargs, etc.

No-Presubmit: true
No-Try: true
Bug: 1243777
Change-Id: I7cc197e9027f7837cd36afc67a209079f85ec364
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3198824
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Owners-Override: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#927512}
2021-10-02 03:06:35 +00:00
Peter Boström
fb60ea0a4d Apply modernize-make-unique to remaining files
This intends to cover directories and individual files where changes
weren't large enough to warrant splitting out to a separate change.

This is a large-scale change: go/chromium-modernize-make-unique

Bug: 1194272
Change-Id: Ia50424ec4b7f998e65dee5071926332ffcce7a94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2803041
Commit-Queue: Peter Boström <pbos@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#869273}
2021-04-05 21:06:12 +00:00
danakj
e125e8d666 Report which RunLoop is timing out in a test.
Tests insert a timeout on RunLoop in order to find slow or flaky tests
but the current error message only reports where the timeout is enabled
and not which RunLoop was currently running. Example:

../../content/public/test/browser_test_base.cc:701: Failure
Failed
RunLoop::Run() timed out.
Stack trace:

We will now include the Location where the RunLoop::Run() call happens
in order to report where the test is actually timing out. The new error
looks like:

../../content/test/content_browser_test_test.cc:341: Failure
Failed
RunLoop::Run() timed out. Timeout set at ../../content/public/test/browser_test_base.cc:701.
Stack trace:

Notably the file and line number where the "Failure" is reported
(in the first line) are where the RunLoop is Run().

R=gab@chromium.org

Bug: 1145280
Change-Id: Ia5e39dbbfb47fd4c9f831cb77889061c4cd3060f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518125
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845815}
2021-01-21 22:06:31 +00:00
danakj
db9ae7941a Rename includes from bind_helpers.h to callback_helpers.h
R=dcheng@chromium.org
NOPRESUBMIT=true
TBR=
NOTRY=true

Change-Id: I93bc6a9360997fae7adeab8c01f56e08fc025dd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2523543
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#826289}
2020-11-11 16:01:35 +00:00
Hans Wennborg
708fa82298 Remove/replace unnecessary logging.h includes in .cc files (ppapi)
CHECK, CHECK_EQ etc., and NOTREACHED/NOTIMPLEMENTED have moved
to the much smaller headers check.h, check_op.h, and notreached.h,
respectively.

This CL updates .cc files to use those headers instead when
possible, with the purpose of saving compile time.

(Split out from https://crrev.com/c/2164525 which also has
notes on how the change was generated.)

Bug: 1031540
Change-Id: I59620a4eb8a4c2096bcc75f546d03cd7f9455aa7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2165109
Commit-Queue: Bill Budge <bbudge@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762906}
2020-04-27 17:23:15 +00:00
Jan Wilken Dörrie
1564716245 [base] Apply BindOnceRewriter in //ppapi
This change applies the BindOnceRewriter in //ppapi.
This rewriter replaces calls to base::Bind and base::BindRepeating with
calls to base::BindOnce, in case the result is immediately assigned to a
base::OnceCallback. Given that base::RepeatingCallback is implicitly
convertible to base::OnceCallback, there is no change in functionality.

Steps:
  1. run_tool.py --tool base_bind_rewriters \
                 --tool-arg='--rewriter=bind_to_bind_once'
  2. git cl format

This CL was uploaded by git cl split.

R=bbudge@chromium.org

Bug: 714018
Change-Id: If865855e4a21b08c359bc48f08ce3db258e41ffa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132411
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760440}
2020-04-20 10:09:58 +00:00
Jan Wilken Dörrie
1d33fc6fdb [ppapi] Use base::OnceCallback in RunWhileLocked and CallWhileUnlocked
This change updates ppapi::RunWhileLocked and ppapi::CallWhileUnlocked
to use base::OnceClosure and base::OnceCallback instead of base::Closure
and base::Callback.

Bug: 714018
Change-Id: I7e827ecffe2baca3a681cf3e27982263c89f9f34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2011927
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: Raymes Khoury <raymes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734397}
2020-01-23 10:20:47 +00:00
kylechar
37594cbfa3 Fix assigning NULL to scoped_refptr
Update code where NULL or 0 is assigned to a scoped_refptr to reset it. Just
call reset() instead. If operator=(std::nullptr_t) is added these assignments
become ambiguous.

This CL was uploaded by git cl split.

R=raymes@chromium.org

Bug: 1024981
Change-Id: Ia3973b95ed896197678e47de7697f68c3ab2e784
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918156
Auto-Submit: kylechar <kylechar@chromium.org>
Reviewed-by: Raymes Khoury <raymes@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715710}
2019-11-15 16:41:17 +00:00
Alex Clarke
f7fb8a8048 Migrate more base::MessageLoops to base::SingleThreadTaskExecutor
A large but trivial migration.

TBR=fdoray@chromium.org

Bug: 891670
Change-Id: I1d3a7575703de8ba17238cb1c9e64d1d825c08d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637460
Reviewed-by: Alex Clarke <alexclarke@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Commit-Queue: Alex Clarke <alexclarke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666718}
2019-06-06 15:41:53 +00:00
Alex Clarke
636e705be4 Introduce SingleThreadTaskExecutor the replacement for base::MessageLoop
A large but mostly trivial patch in preparation for removing
base::MessageLoop. We introduce SingleThreadTaskExecutor a simple FIFO
scheduler, which is intended for non-test code that needs a simple
single threaded task environment. Tests should use ScopedTaskEnvironment
or TestBrowserThreadBundle instead.

This patch also moves MessageLoop::Type to MessagePump::Type and
moves the factory method to MessagePump::Create.

TBR=gab@chromium.org

Change-Id: I9850c4657bb90b62490f4313c420cae025101371
BUG: 891670
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632216
Reviewed-by: Alex Clarke <alexclarke@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: Alex Clarke <alexclarke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664709}
2019-05-30 10:49:37 +00:00
Brett Wilson
9c36199b07 Replace tracked_objects::Location with base::Location.
Part 4/4 to replace these namespace qualifications.

TBR=dcheng@chromium.org

Bug: 763556
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I31d6c69d73111165fb1bd8294cd0fe4e18ce96bd
Reviewed-on: https://chromium-review.googlesource.com/662561
Commit-Queue: Brett Wilson <brettw@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501199}
2017-09-12 06:05:21 +00:00
fdoray
2df4a9ef0a Remove remaining calls to deprecated MessageLoop methods on Mac.
With this CL, there is no remaining call to these methods on Mac:
- MessageLoop::PostTask
- MessageLoop::PostDelayedTask
- MessageLoop::ReleaseSoon
- MessageLoop::DeleteSoon
- MessageLoop::Run
- MessageLoop::RunUntilIdle

Note that this CL also removes calls to these methods from files that
are not built on Mac.

These calls were not migrated by the clang-tidy script used previously
for various reasons (Objective-C code, templates, macros, header files,
std::unique_ptr<MessageLoop>...).

This CL was generated manually (with the help of a few regular
expressions).

BUG=616447
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel
TBR=sdefresne@chromium.org (for ios/'s trivial application of this refactoring)

Review-Url: https://codereview.chromium.org/2132593002
Cr-Commit-Position: refs/heads/master@{#406148}
2016-07-18 23:49:58 +00:00
gab
b19326e584 Fix include path for moved thread_task_runner_handle.h header in ppapi/
Changes made by tools/git/move_source_file.py

BUG=610438
TBR=bbudge

Review-Url: https://codereview.chromium.org/1974503002
Cr-Commit-Position: refs/heads/master@{#392987}
2016-05-11 18:12:39 +00:00
avi
e029c4134f Switch to standard integer types in ppapi/.
BUG=138542
TBR=bbudge@chromium.org
NOPRESUBMIT=true

Review URL: https://codereview.chromium.org/1548813002

Cr-Commit-Position: refs/heads/master@{#366718}
2015-12-23 06:46:20 +00:00
ki.stfu
94337f42ea Remove base::MessageLoop::{Quit,QuitClosure} functions
This patch removes aliases for base::MessageLoop::QuitWhenIdle & base::MessageLoop::QuitWhenIdleClosure, and includes minor formatting changes made by using git cl-format.

BUG=131220
TEST=
R=danakj@chromium.org,brettw@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1390513002

Cr-Commit-Position: refs/heads/master@{#355763}
2015-10-23 11:25:14 +00:00
skyostil
23490d4463 ppapi: Remove use of MessageLoopProxy and deprecated MessageLoop APIs
This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/.

BUG=465354
TBR=sievers@chromium.org

Review URL: https://codereview.chromium.org/1174543002

Cr-Commit-Position: refs/heads/master@{#334148}
2015-06-12 12:55:14 +00:00
dmichael
44b96754c1 PPAPI: Disallow blocking callbacks while handling a blocking message
This makes it so that the plugin can not use blocking completion callbacks while servicing HandleBlockingMessage. This is to discourage leaving JavaScript hung while doing long-running things (e.g. file IO).

(Of course, the plugin can get around this by bouncing to another thread; but I think this adds a useful guideline/deterrent.)

BUG=415351

Review URL: https://codereview.chromium.org/600553002

Cr-Commit-Position: refs/heads/master@{#296422}
2014-09-24 15:41:34 +00:00
sky@chromium.org
1ef9001ca9 Removes MessageLoop::TYPE_XXX where possible
This is part of attempting to get rid of MessageLoop::Type enum.

BUG=none
TEST=none
R=darin@chromium.org

Review URL: https://codereview.chromium.org/136683004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244996 0039d316-1c4b-4281-b951-d872f2087c98
2014-01-15 22:24:33 +00:00
yzshen@chromium.org
511c58e956 Support using TrackedCallbacks as hints to determine the handling thread of resource reply messages.
BUG=269737
TEST=None

Review URL: https://codereview.chromium.org/46433002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240282 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-12 12:25:33 +00:00
avi@chromium.org
a7629597f5 Use a direct include of the message_loop header in ppapi/, printing/, rlz/, sync/.
BUG=260807
TEST=none
TBR=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19627002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212193 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-18 00:42:32 +00:00
brettw@chromium.org
7ccb707107 Update includes of message_loop_proxy.
This keeps the forwarding header, just updates all current callers.

BUG=
R=avi@chromium.org

Review URL: https://codereview.chromium.org/16514006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
2013-06-10 20:56:28 +00:00
rsleevi@chromium.org
f0c8624f0b Update ppapi/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes

BUG=110610
TBR=darin

Review URL: https://chromiumcodereview.appspot.com/15806016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203629 0039d316-1c4b-4281-b951-d872f2087c98
2013-06-02 21:25:43 +00:00
xhwang@chromium.org
d2881d8adc ppapi: Use base::MessageLoop.
BUG=236029

Review URL: https://chromiumcodereview.appspot.com/14273043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198504 0039d316-1c4b-4281-b951-d872f2087c98
2013-05-06 19:23:08 +00:00
dmichael@chromium.org
64cbf81606 PPAPI: Add locking for PPB_MessageLoop
BUG=172330

Review URL: https://chromiumcodereview.appspot.com/12045093

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178970 0039d316-1c4b-4281-b951-d872f2087c98
2013-01-26 00:52:51 +00:00
dmichael@chromium.org
f137d06c2d PPAPI: Fix destructor ordering problem for main-thread message loop
See bug for more info.
BUG=167841



Review URL: https://chromiumcodereview.appspot.com/11740016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174945 0039d316-1c4b-4281-b951-d872f2087c98
2013-01-03 12:10:00 +00:00
dmichael@chromium.org
d4ab947179 PPAPI: Take PPB_MessageLoop out of Dev
BUG=92909


Review URL: https://chromiumcodereview.appspot.com/11364188

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168029 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-15 21:01:23 +00:00
dmichael@chromium.org
77c3417c44 PPAPI: Make CompletionCallbacks work right on background threads.
Now, TrackedCallback::Run will:
-Run the callback immediately if it is on the right thread.
-PostRun to the correct thread if it is not.

This was preceded by https://chromiumcodereview.appspot.com/10909244/, which removed ClearAndRun and does some other little cleanups to TrackedCallback to make it usable on background threads.


BUG=92909

Review URL: https://chromiumcodereview.appspot.com/10910099

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166719 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-08 18:55:16 +00:00
dmichael@chromium.org
6de743ab39 PPAPI: Make PPB_MessageLoop_Dev::GetForMainThread work
BUG=92909
TEST=


Review URL: https://chromiumcodereview.appspot.com/10790078

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154238 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-30 20:03:22 +00:00
dmichael@chromium.org
aed965375d PPAPI: Make blocking completion callbacks work.
This also makes scoped_refptr<TrackedCallback> the "new" way to pass completion callbacks in an API. This allows the Enter object to handle checking for blocking callbacks on the main thread to report error, and blocking if on the background thread. This way, interfaces don't have to write any special cases for blocking callbacks.

When built with enable_pepper_threading=1 locally, URLLoader tests all pass for blocking completion callbacks. I haven't updated all tests yet.

BUG=92909
TEST=


Review URL: https://chromiumcodereview.appspot.com/10081020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143806 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-23 14:27:42 +00:00
dmichael@chromium.org
4c41d3fd4b reland 121901, PPAPI: Add unlocking for PPP calls and callbacks...
"""
With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before).

TODO: Test more calls off the main thread, make sync completion callbacks work.

BUG=92909
TEST=


Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121901
"""
TBR=dmichael@chromium.org

Review URL: http://codereview.chromium.org/9361065

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122001 0039d316-1c4b-4281-b951-d872f2087c98
2012-02-15 01:44:47 +00:00
dpapad@chromium.org
aa036eee91 Revert 121901 - PPAPI: Add unlocking for PPP calls and callbacks. Add more locking.
With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before).

TODO: Test more calls off the main thread, make sync completion callbacks work.

BUG=92909
TEST=


Review URL: http://codereview.chromium.org/9391006

TBR=dmichael@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9348092

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121903 0039d316-1c4b-4281-b951-d872f2087c98
2012-02-14 18:22:49 +00:00
dmichael@chromium.org
2ef706e47f PPAPI: Add unlocking for PPP calls and callbacks. Add more locking.
With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before).

TODO: Test more calls off the main thread, make sync completion callbacks work.

BUG=92909
TEST=


Review URL: http://codereview.chromium.org/9391006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121901 0039d316-1c4b-4281-b951-d872f2087c98
2012-02-14 18:05:39 +00:00
brettw@chromium.org
00d320a6e4 Make a global enum to differentiate impl & proxy.
Use this in resource constructors and remove all the old weird structs that we
used to tell which one to call. This removes some extra code we had to deal
with this.


Review URL: http://codereview.chromium.org/9391013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121781 0039d316-1c4b-4281-b951-d872f2087c98
2012-02-14 00:27:04 +00:00
brettw@chromium.org
9d11bb4638 Remove static initializer for TLS object. This moves the TLS to the
PluginGlobals. I did not do a general sultion so that anybody can add to the
globals TLS object because this may be the only place we need this.

Review URL: http://codereview.chromium.org/9296017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120500 0039d316-1c4b-4281-b951-d872f2087c98
2012-02-05 03:07:39 +00:00
tedvessenes@gmail.com
b6513dc49b Convert use of int ms to TimeDelta in scattered chromium files.
It's not clear to me who needs to review the change to
third_party/leveldatabase/env_chromium.cc, or even if it's handled
through the standard CL interface for the rest of Chromium.  But my
best guess was that you could either approve it or tell me who to
contact.  Let me know if I need to go about this patch submission
a different way.

R=brettw@chromium.org
BUG=108171
TEST=


Review URL: http://codereview.chromium.org/9303006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119771 0039d316-1c4b-4281-b951-d872f2087c98
2012-01-30 23:54:21 +00:00
thakis@chromium.org
444b8a3c2c Make it possible to use ThreadLocalStorage::Slot as a static without
introducing static initializers.

Member variables can stay TLS::Slots and their behavior doesn't change.
Static instances use TLS::StaticSlot instead.

Kind of like http://codereview.chromium.org/8491043 but for TLS.

BUG=none
TEST=none
TBR=agl

Review URL: https://chromiumcodereview.appspot.com/9297010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119679 0039d316-1c4b-4281-b951-d872f2087c98
2012-01-30 16:52:09 +00:00
brettw@chromium.org
15b1224dc8 Revert 119200 - Revert 119198 - First pass at implementing the MessageLoop interface. This includes a simple
example and a helper class. The current example just asserts due to thread
checks we have in there now, but this should provide a good starting point.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9097006

TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9290040

TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9234068

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119268 0039d316-1c4b-4281-b951-d872f2087c98
2012-01-26 19:28:47 +00:00
brettw@chromium.org
52f604edea Revert 119198 - First pass at implementing the MessageLoop interface. This includes a simple
example and a helper class. The current example just asserts due to thread
checks we have in there now, but this should provide a good starting point.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9097006

TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9290040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119200 0039d316-1c4b-4281-b951-d872f2087c98
2012-01-26 06:27:16 +00:00
brettw@chromium.org
574c50aaf6 First pass at implementing the MessageLoop interface. This includes a simple
example and a helper class. The current example just asserts due to thread
checks we have in there now, but this should provide a good starting point.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9097006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119198 0039d316-1c4b-4281-b951-d872f2087c98
2012-01-26 05:15:48 +00:00