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

Issue 9965012: Honor session content settings even if "continue where I left off" is selected. (Closed)

Created:
8 years, 8 months ago by marja
Modified:
8 years, 8 months ago
CC:
chromium-reviews, arv (Not doing code reviews), jochen (gone - plz use gerrit)
Visibility:
Public.

Description

Honor the "clear on exit" setting even if "continue where I left off" is selected. This also cancels the session restore UI changes except renaming the "reopen last pages" to "continue where I left off". BUG=121072 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130025

Patch Set 1 #

Patch Set 2 : Rebased. #

Total comments: 8

Patch Set 3 : Code review. #

Total comments: 4

Patch Set 4 : Code review. #

Total comments: 2

Patch Set 5 : Only honor the "clear on exit", not session-only cookies. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -28 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 1 chunk +1 line, -11 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options2/browser_options.js View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/options2/startup_section.html View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/webui/options2/content_settings_handler2.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
marja
Could you review the following parts? bauerb: all sail: chrome/browser/profiles/* estade: chrome/browser/resources/options2/* & chrome/browser/ui/webui/options2/* (crbug.com/121072 ...
8 years, 8 months ago (2012-03-30 12:31:12 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/9965012/diff/1006/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/9965012/diff/1006/chrome/browser/profiles/profile_impl.cc#newcode375 chrome/browser/profiles/profile_impl.cc:375: SessionStartupPref::Type startup_pref_type = Nit: Indent http://codereview.chromium.org/9965012/diff/1006/chrome/browser/profiles/profile_impl.cc#newcode389 chrome/browser/profiles/profile_impl.cc:389: !clear_local_state_on_exit_ && ...
8 years, 8 months ago (2012-03-30 12:40:05 UTC) #2
marja
Thanks for comments! http://codereview.chromium.org/9965012/diff/1006/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/9965012/diff/1006/chrome/browser/profiles/profile_impl.cc#newcode375 chrome/browser/profiles/profile_impl.cc:375: SessionStartupPref::Type startup_pref_type = On 2012/03/30 12:40:05, ...
8 years, 8 months ago (2012-03-30 12:51:37 UTC) #3
Bernhard Bauer
http://codereview.chromium.org/9965012/diff/5005/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (left): http://codereview.chromium.org/9965012/diff/5005/chrome/browser/chrome_content_browser_client.cc#oldcode921 chrome/browser/chrome_content_browser_client.cc:921: io_data->session_startup_pref()->GetValue()); Do we still need |io_data->session_startup_pref()|? If not, you ...
8 years, 8 months ago (2012-03-30 12:58:21 UTC) #4
marja
http://codereview.chromium.org/9965012/diff/5005/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (left): http://codereview.chromium.org/9965012/diff/5005/chrome/browser/chrome_content_browser_client.cc#oldcode921 chrome/browser/chrome_content_browser_client.cc:921: io_data->session_startup_pref()->GetValue()); On 2012/03/30 12:58:21, Bernhard Bauer wrote: > Do ...
8 years, 8 months ago (2012-03-30 13:08:32 UTC) #5
Bernhard Bauer
On 2012/03/30 13:08:32, marja wrote: > http://codereview.chromium.org/9965012/diff/5005/chrome/browser/chrome_content_browser_client.cc > File chrome/browser/chrome_content_browser_client.cc (left): > > http://codereview.chromium.org/9965012/diff/5005/chrome/browser/chrome_content_browser_client.cc#oldcode921 > ...
8 years, 8 months ago (2012-03-30 13:37:57 UTC) #6
marja
On 2012/03/30 13:37:57, Bernhard Bauer wrote: > On 2012/03/30 13:08:32, marja wrote: http://codereview.chromium.org/9965012/diff/5005/chrome/browser/ui/webui/options2/content_settings_handler2.cc > > ...
8 years, 8 months ago (2012-03-30 13:41:57 UTC) #7
Bernhard Bauer
On 2012/03/30 13:41:57, marja wrote: > On 2012/03/30 13:37:57, Bernhard Bauer wrote: > > On ...
8 years, 8 months ago (2012-03-30 13:42:49 UTC) #8
sail
http://codereview.chromium.org/9965012/diff/6009/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/9965012/diff/6009/chrome/browser/profiles/profile_impl.cc#newcode365 chrome/browser/profiles/profile_impl.cc:365: bool restore_old_session_cookies = false; Hi Marja. Since this is ...
8 years, 8 months ago (2012-03-30 15:50:01 UTC) #9
marja
Oops, change of plans: we only honor the "clear on exit" content setting, not the ...
8 years, 8 months ago (2012-03-30 16:26:42 UTC) #10
sail
lgtm
8 years, 8 months ago (2012-03-30 16:28:58 UTC) #11
Evan Stade
lgtm
8 years, 8 months ago (2012-03-30 20:21:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/9965012/7008
8 years, 8 months ago (2012-03-30 20:42:26 UTC) #13
commit-bot: I haz the power
8 years, 8 months ago (2012-03-31 01:55:02 UTC) #14
Change committed as 130025

Powered by Google App Engine
This is Rietveld 408576698