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

Issue 7230052: Make kClearSiteDataOnExit work correctly for Flash in multi-profile. (Closed)

Created:
9 years, 5 months ago by Miranda Callahan
Modified:
9 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, stuartmorgan+watch_chromium.org
Visibility:
Public.

Description

Make kClearSiteDataOnExit work for Flash plugins in a multi-profile environment. Because Flash data is global among all profiles (and all browsers) on a machine, we can't clear site data easily per profile on exit. Instead, if this flag is set, we run Flash instances in Incognito mode for profiles that want to leave no data stored on exit. BUG=80794 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91168

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : include missing files #

Patch Set 4 : create a prefmember for clearsitedata, move to io thread #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 2

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -31 lines) Patch
M chrome/browser/browser_process_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +1 line, -26 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/content_browser_client.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/plugin_process_host.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Miranda Callahan
Ok, after much poking about, I discovered the NPAPI specification -- I'm guessing that NPNVprivateModeBool ...
9 years, 5 months ago (2011-06-28 22:11:22 UTC) #1
bauerb at google
On 2011/06/28 22:11:22, Miranda Callahan wrote: > Ok, after much poking about, I discovered the ...
9 years, 5 months ago (2011-06-28 22:31:29 UTC) #2
Miranda Callahan
On 2011/06/28 22:31:29, please use chromium account wrote: > On 2011/06/28 22:11:22, Miranda Callahan wrote: ...
9 years, 5 months ago (2011-06-28 22:34:31 UTC) #3
Jói
http://codereview.chromium.org/7230052/diff/1/content/browser/renderer_host/render_message_filter.cc File content/browser/renderer_host/render_message_filter.cc (right): http://codereview.chromium.org/7230052/diff/1/content/browser/renderer_host/render_message_filter.cc#newcode17 content/browser/renderer_host/render_message_filter.cc:17: #include "chrome/browser/prefs/pref_service.h" Please don't add a content->pref_service dependency, this ...
9 years, 5 months ago (2011-06-29 03:37:32 UTC) #4
Miranda Callahan
Piped the bool through a PrefMember in ProfileIOData that I moved to the IOThread -- ...
9 years, 5 months ago (2011-06-29 19:55:31 UTC) #5
Jói
LGTM
9 years, 5 months ago (2011-06-30 12:09:16 UTC) #6
Bernhard Bauer
http://codereview.chromium.org/7230052/diff/9029/content/browser/plugin_process_host.h File content/browser/plugin_process_host.h (right): http://codereview.chromium.org/7230052/diff/9029/content/browser/plugin_process_host.h#newcode48 content/browser/plugin_process_host.h:48: virtual bool SaveLocalState() = 0; I think we should ...
9 years, 5 months ago (2011-06-30 12:24:12 UTC) #7
Miranda Callahan
http://codereview.chromium.org/7230052/diff/9029/content/browser/plugin_process_host.h File content/browser/plugin_process_host.h (right): http://codereview.chromium.org/7230052/diff/9029/content/browser/plugin_process_host.h#newcode48 content/browser/plugin_process_host.h:48: virtual bool SaveLocalState() = 0; On 2011/06/30 12:24:12, Bernhard ...
9 years, 5 months ago (2011-06-30 13:38:43 UTC) #8
Bernhard Bauer
LGTM with a cleanup nit: http://codereview.chromium.org/7230052/diff/11026/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/7230052/diff/11026/chrome/browser/browser_process_impl.cc#newcode653 chrome/browser/browser_process_impl.cc:653: void BrowserProcessImpl::WaitForPluginDataRemoverToFinish() { This ...
9 years, 5 months ago (2011-06-30 13:47:28 UTC) #9
Miranda Callahan
Thanks! http://codereview.chromium.org/7230052/diff/11026/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/7230052/diff/11026/chrome/browser/browser_process_impl.cc#newcode653 chrome/browser/browser_process_impl.cc:653: void BrowserProcessImpl::WaitForPluginDataRemoverToFinish() { On 2011/06/30 13:47:29, Bernhard Bauer ...
9 years, 5 months ago (2011-06-30 14:07:39 UTC) #10
commit-bot: I haz the power
Presubmit check for 7230052-10050 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 5 months ago (2011-06-30 16:12:19 UTC) #11
Miranda Callahan
Brett, may I have your imprimatur?
9 years, 5 months ago (2011-06-30 16:19:23 UTC) #12
Miranda Callahan
Darin, are you available to OWNER-review this change?
9 years, 5 months ago (2011-06-30 17:03:52 UTC) #13
darin (slow to review)
content/ <-- LGTM
9 years, 5 months ago (2011-06-30 17:45:50 UTC) #14
commit-bot: I haz the power
9 years, 5 months ago (2011-06-30 18:51:57 UTC) #15
Change committed as 91168

Powered by Google App Engine
This is Rietveld 408576698