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

Issue 11361075: Enable pepper threading by default. (Closed)

Created:
8 years, 1 month ago by brettw
Modified:
8 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Enable pepper threading by default. BUG=159240 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166560

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Add lock for message loop #

Total comments: 2

Patch Set 4 : Lock on resource replies #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M build/common.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/flash_resource.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 2 3 1 chunk +4 lines, -0 lines 1 comment Download
M ppapi/proxy/ppp_instance_private_proxy_unittest.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
brettw
8 years, 1 month ago (2012-11-02 22:55:29 UTC) #1
dmichael (off chromium)
lgtm It shouldn't be hard to add something to about:flags for this, if we need ...
8 years, 1 month ago (2012-11-05 17:45:46 UTC) #2
brettw
PTAL. I had to fix a few tests. One was a recursive lock. The other ...
8 years, 1 month ago (2012-11-05 20:18:29 UTC) #3
dmichael (off chromium)
lgtm
8 years, 1 month ago (2012-11-05 20:27:11 UTC) #4
brettw
I added another lock in the testing proxy which I *think* is right. It would ...
8 years, 1 month ago (2012-11-06 00:56:44 UTC) #5
dmichael (off chromium)
http://codereview.chromium.org/11361075/diff/13001/ppapi/proxy/ppb_testing_proxy.cc File ppapi/proxy/ppb_testing_proxy.cc (right): http://codereview.chromium.org/11361075/diff/13001/ppapi/proxy/ppb_testing_proxy.cc#newcode57 ppapi/proxy/ppb_testing_proxy.cc:57: ProxyAutoLock lock; No, you don't want the lock to ...
8 years, 1 month ago (2012-11-06 03:00:02 UTC) #6
dmichael (off chromium)
http://codereview.chromium.org/11361075/diff/13001/ppapi/proxy/ppb_testing_proxy.cc File ppapi/proxy/ppb_testing_proxy.cc (right): http://codereview.chromium.org/11361075/diff/13001/ppapi/proxy/ppb_testing_proxy.cc#newcode57 ppapi/proxy/ppb_testing_proxy.cc:57: ProxyAutoLock lock; On 2012/11/06 03:00:02, dmichael wrote: > No, ...
8 years, 1 month ago (2012-11-06 03:12:19 UTC) #7
brettw
Try server indicates you're right. I will look at this test more.
8 years, 1 month ago (2012-11-06 18:48:31 UTC) #8
brettw
Okay, I'm pretty sure this is correct now. We weren't locking for resource replies. PTAL
8 years, 1 month ago (2012-11-06 19:20:41 UTC) #9
dmichael (off chromium)
https://chromiumcodereview.appspot.com/11361075/diff/2006/ppapi/proxy/plugin_dispatcher.cc File ppapi/proxy/plugin_dispatcher.cc (right): https://chromiumcodereview.appspot.com/11361075/diff/2006/ppapi/proxy/plugin_dispatcher.cc#newcode203 ppapi/proxy/plugin_dispatcher.cc:203: ProxyAutoLock lock; Shouldn't this lock cover it? Or can ...
8 years, 1 month ago (2012-11-06 19:24:10 UTC) #10
brettw
There's two codepaths. I broke the "regular" one (locking twice) and fixed the browser->plugin codepath. ...
8 years, 1 month ago (2012-11-06 19:34:13 UTC) #11
dmichael (off chromium)
Do you still have that branch available to upload here? I was confused about how ...
8 years, 1 month ago (2012-11-08 04:22:51 UTC) #12
brettw
Whoops, I did so many try runs I'd gotten lost (turns out mostly just a ...
8 years, 1 month ago (2012-11-08 05:30:15 UTC) #13
dmichael (off chromium)
8 years, 1 month ago (2012-11-08 16:04:08 UTC) #14
I glanced at it already in src.chromium.org, and it still lgtm.

I just prefer Rietveld to reflect reality; it can save time & trouble when
someone has to go digging through old CLs for something. I think you can
still upload to that issue if you still have the branch it came from.
Otherwise, oh well :)

On Wed, Nov 7, 2012 at 10:30 PM, <brettw@chromium.org> wrote:

> Whoops, I did so many try runs I'd gotten lost (turns out mostly just a
> lot of
> flakiness). I can fix any suggestions you have in followups:
>
http://src.chromium.org/**viewvc/chrome?view=rev&**revision=166560<http://src...
>
>
http://codereview.chromium.**org/11361075/<http://codereview.chromium.org/113...
>

Powered by Google App Engine
This is Rietveld 408576698