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

Issue 908363002: PPAPI: Make tests that disable the proxy lock re-enable it (Closed)

Created:
5 years, 10 months ago by dmichael (off chromium)
Modified:
5 years, 10 months ago
Reviewers:
teravest
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PPAPI: Make tests that disable the proxy lock re-enable it Rather than force all unit tests that rely on the ProxyLock to enable it, let's make sure that all tests that _disable_ it re-enable it on exit. BUG= R=teravest@chromium.org Committed: https://crrev.com/25ea5b2087b4c31fa42dea9b0de759d4895d0612 Cr-Commit-Position: refs/heads/master@{#315666} Committed: https://crrev.com/bd96c1e0f3c41f2254600c1285916f52ff29b92c Cr-Commit-Position: refs/heads/master@{#315895}

Patch Set 1 #

Patch Set 2 : re-enable in two other places #

Patch Set 3 : Use RAII approach; fixes URLRequestInfoTest #

Patch Set 4 : add export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -24 lines) Patch
M content/renderer/pepper/pepper_file_chooser_host_unittest.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_url_request_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 1 2 3 chunks +1 line, -8 lines 0 comments Download
M ppapi/proxy/raw_var_data_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/shared_impl/proxy_lock.h View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M ppapi/shared_impl/proxy_lock.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M ppapi/shared_impl/tracked_callback_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/shared_impl/var_tracker_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 21 (6 generated)
dmichael (off chromium)
5 years, 10 months ago (2015-02-10 21:14:38 UTC) #1
teravest
There are some uncovered cases where DisableLockingOnThreadForTest is called: https://code.google.com/p/chromium/codesearch#chromium/src/content/renderer/pepper/pepper_url_request_unittest.cc&rcl=1423516489&l=62 https://code.google.com/p/chromium/codesearch#chromium/src/content/renderer/pepper/pepper_file_chooser_host_unittest.cc&rcl=1423516489&l=39 This is from codesearch, ...
5 years, 10 months ago (2015-02-10 21:26:32 UTC) #2
dmichael (off chromium)
git gs just now only found those. Fixed. Nice catch.
5 years, 10 months ago (2015-02-10 21:48:24 UTC) #3
teravest
lgtm It'd be nice to have something RAII-based for the tests that disable and re-enable ...
5 years, 10 months ago (2015-02-10 21:51:57 UTC) #4
dmichael (off chromium)
On 2015/02/10 21:51:57, teravest wrote: > lgtm > > It'd be nice to have something ...
5 years, 10 months ago (2015-02-10 22:22:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908363002/20001
5 years, 10 months ago (2015-02-10 22:23:58 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-10 23:01:10 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/25ea5b2087b4c31fa42dea9b0de759d4895d0612 Cr-Commit-Position: refs/heads/master@{#315666}
5 years, 10 months ago (2015-02-10 23:02:04 UTC) #9
dmichael (off chromium)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/918433002/ by dmichael@chromium.org. ...
5 years, 10 months ago (2015-02-11 00:22:36 UTC) #10
Nico
On 2015/02/11 00:22:36, dmichael wrote: > A revert of this CL (patchset #2 id:20001) has ...
5 years, 10 months ago (2015-02-11 04:37:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908363002/40001
5 years, 10 months ago (2015-02-11 22:14:56 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/9349)
5 years, 10 months ago (2015-02-11 23:42:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908363002/60001
5 years, 10 months ago (2015-02-11 23:50:21 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-12 00:58:18 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 00:59:08 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bd96c1e0f3c41f2254600c1285916f52ff29b92c
Cr-Commit-Position: refs/heads/master@{#315895}

Powered by Google App Engine
This is Rietveld 408576698