Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Issue 6308001: When clearing plugin data at shutdown, wait for it to finish. (Closed)

Created:
9 years, 11 months ago by Bernhard Bauer
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, stuartmorgan+watch_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

When clearing plugin data at shutdown, wait for it to finish. Also, Add some browser tests for clearing plugin data and enable npapi_test_plugin on 64-bit Linux; apparently it's been fixed. BUG=58235, 18337, 26625 TEST=PluginDataRemoverTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72123

Patch Set 1 #

Patch Set 2 : stuff #

Patch Set 3 : whoops #

Total comments: 1

Patch Set 4 : don't keep a browser reference #

Patch Set 5 : add tests #

Patch Set 6 : remove unnecessary stuff #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -51 lines) Patch
M chrome/browser/browser_process.h View 1 2 3 4 1 chunk +11 lines, -0 lines 1 comment Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/browsing_data_remover.h View 1 2 3 4 5 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data_remover.cc View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/plugin_data_remover.h View 1 2 3 4 5 6 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/plugin_data_remover.cc View 1 2 3 4 5 7 chunks +32 lines, -19 lines 0 comments Download
A chrome/browser/plugin_data_remover_browsertest.cc View 1 2 3 4 1 chunk +75 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 4 chunks +9 lines, -3 lines 0 comments Download
M webkit/plugins/npapi/test/plugin_client.cc View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Bernhard Bauer
Please review. This is the patch we discussed in December that avoids spinning up the ...
9 years, 11 months ago (2011-01-13 17:27:08 UTC) #1
jam
http://codereview.chromium.org/6308001/diff/4001/chrome/browser/plugin_data_remover.h File chrome/browser/plugin_data_remover.h (right): http://codereview.chromium.org/6308001/diff/4001/chrome/browser/plugin_data_remover.h#newcode77 chrome/browser/plugin_data_remover.h:77: bool has_browser_ref_; comment?
9 years, 11 months ago (2011-01-13 19:52:43 UTC) #2
Bernhard Bauer
On 2011/01/13 19:52:43, John Abd-El-Malek wrote: > http://codereview.chromium.org/6308001/diff/4001/chrome/browser/plugin_data_remover.h > File chrome/browser/plugin_data_remover.h (right): > > http://codereview.chromium.org/6308001/diff/4001/chrome/browser/plugin_data_remover.h#newcode77 ...
9 years, 11 months ago (2011-01-14 15:20:39 UTC) #3
Bernhard Bauer
Now, just to make sure I'm not doing something stupid here: I still keep doing ...
9 years, 11 months ago (2011-01-14 16:32:14 UTC) #4
jam
Hmm, the browser code does assume that the UI thread outlives the IO thread (see ...
9 years, 11 months ago (2011-01-14 18:03:00 UTC) #5
Bernhard Bauer
On Friday, January 14, 2011, John Abd-El-Malek <[email protected]> wrote: > Hmm, the browser code does ...
9 years, 11 months ago (2011-01-14 18:10:57 UTC) #6
Bernhard Bauer
Ping? FWIW, I have another version of this CL that just uses a WaitableEvent, which ...
9 years, 11 months ago (2011-01-18 21:17:26 UTC) #7
Bernhard Bauer
Ping? FWIW, I have another version of this CL that just uses a WaitableEvent, which ...
9 years, 11 months ago (2011-01-18 21:19:14 UTC) #8
Bernhard Bauer
After adding some browser tests, there came up timing issues with waiting for the plugin ...
9 years, 11 months ago (2011-01-20 18:01:56 UTC) #9
jam
9 years, 11 months ago (2011-01-20 18:34:15 UTC) #10
lgtm

sorry for the delay, I didn't see the old emails (in the future feel free to
ping me over IM when I miss them :) )

http://codereview.chromium.org/6308001/diff/27001/chrome/browser/browser_proc...
File chrome/browser/browser_process.h (right):

http://codereview.chromium.org/6308001/diff/27001/chrome/browser/browser_proc...
chrome/browser/browser_process.h:203: std::string
plugin_data_remover_mime_type_;
this needs a comment.  by convention we don't put the comment beside the simple
setter/getters, and put them by the variable name

Powered by Google App Engine
This is Rietveld 408576698