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

Issue 8745015: Store the "browser autorestarted, last session must be restored" information in a preference. (Closed)

Created:
9 years ago by marja
Modified:
9 years ago
CC:
chromium-reviews, robertshield, kkania, Paweł Hajdan Jr., jochen (gone - plz use gerrit)
Visibility:
Public.

Description

Store the "browser autorestarted, last session must be restored" information in a preference. This way ChromiumOS can run the same session restore code as Chrome. BUG=1870 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112985

Patch Set 1 #

Total comments: 6

Patch Set 2 : Style fix. #

Patch Set 3 : Rebased. #

Patch Set 4 : ? #

Patch Set 5 : Patch set incomplete? #

Total comments: 4

Patch Set 6 : Code review. #

Patch Set 7 : Build fix (browser_tests). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -22 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_shutdown.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chrome_browser_main_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_list.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_list.cc View 1 2 4 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/upgrade_detector.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
marja
Hi Finnur, I'm working on a CL (1) for restoring session cookies after a restart ...
9 years ago (2011-11-30 15:46:13 UTC) #1
Finnur
LGTM, with nits and some general comments: Update the bug number for the CL, it ...
9 years ago (2011-11-30 18:32:04 UTC) #2
marja
Hi & thanks for comments. Ok, I guess we need both, the command line flag ...
9 years ago (2011-12-02 09:23:41 UTC) #3
Finnur
> I removed setting the command line flag from browser_shutdown.cc, since the > preference is ...
9 years ago (2011-12-02 16:48:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/8745015/7001
9 years ago (2011-12-05 11:28:46 UTC) #5
commit-bot: I haz the power
Can't process patch for file chrome/browser/ui/browser.cc. File's status is None, patchset upload is incomplete.
9 years ago (2011-12-05 11:28:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/8745015/12014
9 years ago (2011-12-05 11:48:13 UTC) #7
commit-bot: I haz the power
Presubmit check for 8745015-12014 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-05 11:48:19 UTC) #8
marja
Hi mirandac, could you review chrome/browser/profiles/* of this CL? Thanks!
9 years ago (2011-12-05 11:56:24 UTC) #9
Miranda Callahan
LGTM with change. http://codereview.chromium.org/8745015/diff/12014/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/8745015/diff/12014/chrome/browser/profiles/profile_impl.cc#newcode379 chrome/browser/profiles/profile_impl.cc:379: PrefService* pref_service = g_browser_process->local_state(); You actually ...
9 years ago (2011-12-05 14:30:28 UTC) #10
marja
Ah, thanks for pointing that out. http://codereview.chromium.org/8745015/diff/12014/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/8745015/diff/12014/chrome/browser/profiles/profile_impl.cc#newcode379 chrome/browser/profiles/profile_impl.cc:379: PrefService* pref_service = ...
9 years ago (2011-12-05 14:44:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/8745015/11003
9 years ago (2011-12-05 14:46:44 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/8745015/13008
9 years ago (2011-12-05 15:10:27 UTC) #13
commit-bot: I haz the power
9 years ago (2011-12-05 16:30:00 UTC) #14
Change committed as 112985

Powered by Google App Engine
This is Rietveld 408576698