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

Issue 321053004: Add limitation that LoadNexeAndStart must be called on the main thread. (Closed)

Created:
6 years, 6 months ago by hidehiko
Modified:
6 years, 6 months ago
Reviewers:
teravest
CC:
chromium-reviews, dmichael (off chromium), Mark Seaborn, hamaji, mazda, Junichi Uekawa
Visibility:
Public.

Description

Add limitation that LoadNexeAndStart must be called on the main thread. Now we're switching LoadNexeAndStart from synchronous implementation to asynchronous one. Under PPAPI implementation, the async callbacks are handled on main thread. To keep the similicity of the thread model, this CL introduces the limitation that Plugin::LoadNexeAndStart must be called on the main thread. TEST=Ran browser_tests --gtest_filter=NaCl* locally and trybots. BUG=333950 R=teravest@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276371

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -9 lines) Patch
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 chunks +15 lines, -8 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
hidehiko
Hi Justin, could you take a look? This is the CL to run LoadNexeAndStart on ...
6 years, 6 months ago (2014-06-10 06:55:33 UTC) #1
teravest
lgtm https://codereview.chromium.org/321053004/diff/1/ppapi/native_client/src/trusted/plugin/plugin.h File ppapi/native_client/src/trusted/plugin/plugin.h (right): https://codereview.chromium.org/321053004/diff/1/ppapi/native_client/src/trusted/plugin/plugin.h#newcode169 ppapi/native_client/src/trusted/plugin/plugin.h:169: void LoadNexeAndStart(int32_t pp_error, Please add a comment like ...
6 years, 6 months ago (2014-06-10 15:19:25 UTC) #2
hidehiko
The CQ bit was checked by hidehiko@chromium.org
6 years, 6 months ago (2014-06-11 07:24:20 UTC) #3
hidehiko
The CQ bit was unchecked by hidehiko@chromium.org
6 years, 6 months ago (2014-06-11 07:24:21 UTC) #4
hidehiko
Thank you for review. Submitting... https://codereview.chromium.org/321053004/diff/1/ppapi/native_client/src/trusted/plugin/plugin.h File ppapi/native_client/src/trusted/plugin/plugin.h (right): https://codereview.chromium.org/321053004/diff/1/ppapi/native_client/src/trusted/plugin/plugin.h#newcode169 ppapi/native_client/src/trusted/plugin/plugin.h:169: void LoadNexeAndStart(int32_t pp_error, On ...
6 years, 6 months ago (2014-06-11 07:24:37 UTC) #5
hidehiko
The CQ bit was checked by hidehiko@chromium.org
6 years, 6 months ago (2014-06-11 07:24:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/321053004/40001
6 years, 6 months ago (2014-06-11 07:30:39 UTC) #7
hidehiko
6 years, 6 months ago (2014-06-11 12:55:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r276371 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698