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

Issue 1410923004: Replace PluginThreadTaskRunner with a simpler MainPluginThreadTaskRunner. (Closed)

Created:
5 years, 2 months ago by Sergey Ulanov
Modified:
5 years, 2 months ago
Reviewers:
Wez, dcaiafa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_mac_test
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace PluginThreadTaskRunner with a simpler MainPluginThreadTaskRunner. PluginThreadTaskRunner was designed to work with NPAPI and PPAPI, but it's no longer necessary. Replacing it with MainPluginThreadTaskRunner that's Pepper-specific and is much simpler. BUG=544275 Committed: https://crrev.com/815bc8f7727e03d4e66d19462bfca9d943be1198 Cr-Commit-Position: refs/heads/master@{#355200}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -448 lines) Patch
D remoting/base/plugin_thread_task_runner.h View 1 chunk +0 lines, -126 lines 0 comments Download
D remoting/base/plugin_thread_task_runner.cc View 1 chunk +0 lines, -247 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 3 chunks +2 lines, -6 lines 0 comments Download
A remoting/client/plugin/pepper_main_thread_task_runner.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A remoting/client/plugin/pepper_main_thread_task_runner.cc View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
D remoting/client/plugin/pepper_plugin_thread_delegate.h View 1 chunk +0 lines, -31 lines 0 comments Download
D remoting/client/plugin/pepper_plugin_thread_delegate.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Sergey Ulanov
5 years, 2 months ago (2015-10-16 22:10:57 UTC) #2
Sergey Ulanov
ping
5 years, 2 months ago (2015-10-20 14:51:58 UTC) #3
Sergey Ulanov
+wez, can you please take a look?
5 years, 2 months ago (2015-10-20 22:57:24 UTC) #5
Wez
https://codereview.chromium.org/1410923004/diff/1/remoting/client/plugin/chromoting_instance.h File remoting/client/plugin/chromoting_instance.h (right): https://codereview.chromium.org/1410923004/diff/1/remoting/client/plugin/chromoting_instance.h#newcode246 remoting/client/plugin/chromoting_instance.h:246: scoped_refptr<MainPluginThreadTaskRunner> plugin_task_runner_; Does the ChromotingInstance need to know that ...
5 years, 2 months ago (2015-10-20 23:05:48 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/1410923004/diff/1/remoting/client/plugin/chromoting_instance.h File remoting/client/plugin/chromoting_instance.h (right): https://codereview.chromium.org/1410923004/diff/1/remoting/client/plugin/chromoting_instance.h#newcode246 remoting/client/plugin/chromoting_instance.h:246: scoped_refptr<MainPluginThreadTaskRunner> plugin_task_runner_; On 2015/10/20 23:05:48, Wez wrote: > Does ...
5 years, 2 months ago (2015-10-20 23:28:05 UTC) #7
Wez
lgtm https://codereview.chromium.org/1410923004/diff/1/remoting/client/plugin/main_plugin_thread_task_runner.cc File remoting/client/plugin/main_plugin_thread_task_runner.cc (right): https://codereview.chromium.org/1410923004/diff/1/remoting/client/plugin/main_plugin_thread_task_runner.cc#newcode20 remoting/client/plugin/main_plugin_thread_task_runner.cc:20: core_->CallOnMainThread(delay.InMilliseconds(), On 2015/10/20 at 23:28:05, Sergey Ulanov wrote: ...
5 years, 2 months ago (2015-10-20 23:43:52 UTC) #8
Sergey Ulanov
https://codereview.chromium.org/1410923004/diff/20001/remoting/client/plugin/pepper_main_thread_task_runner.cc File remoting/client/plugin/pepper_main_thread_task_runner.cc (right): https://codereview.chromium.org/1410923004/diff/20001/remoting/client/plugin/pepper_main_thread_task_runner.cc#newcode14 remoting/client/plugin/pepper_main_thread_task_runner.cc:14: PepperMainThreadTaskRunner::~PepperMainThreadTaskRunner() {} On 2015/10/20 23:43:52, Wez wrote: > nit: ...
5 years, 2 months ago (2015-10-20 23:49:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410923004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410923004/40001
5 years, 2 months ago (2015-10-20 23:49:57 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-21 00:22:07 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 00:22:48 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/815bc8f7727e03d4e66d19462bfca9d943be1198
Cr-Commit-Position: refs/heads/master@{#355200}

Powered by Google App Engine
This is Rietveld 408576698