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

Issue 694813003: Changing SessionService to have a BaseSessionService, not being one. (Closed)

Created:
6 years, 1 month ago by Mr4D (OOO till 08-26)
Modified:
6 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, marja+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Changing SessionService to have a BaseSessionService, not being one. BUG=424679 TEST=covered by existing unit tests Committed: https://crrev.com/d1e250bc34f3e17256bcbe9a5a394a641a9eb804 Cr-Commit-Position: refs/heads/master@{#302803}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed non ChromeOS builds #

Total comments: 27

Patch Set 3 : Addressed #

Patch Set 4 : Rebased and addressed #

Total comments: 8

Patch Set 5 : . #

Patch Set 6 : Removed scoped_ptr from old command again #

Patch Set 7 : Fixing windows compile error #

Patch Set 8 : Fixed browser tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -223 lines) Patch
M chrome/browser/sessions/base_session_service.h View 1 2 3 4 5 6 7 3 chunks +43 lines, -29 lines 0 comments Download
M chrome/browser/sessions/base_session_service.cc View 1 2 3 4 5 6 7 6 chunks +64 lines, -19 lines 0 comments Download
M chrome/browser/sessions/base_session_service_delegate.h View 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/sessions/base_session_service_delegate_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sessions/base_session_service_delegate_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sessions/persistent_tab_restore_service.cc View 1 2 15 chunks +51 lines, -43 lines 0 comments Download
M chrome/browser/sessions/session_backend.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_backend.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_service.h View 1 2 3 10 chunks +15 lines, -13 lines 0 comments Download
M chrome/browser/sessions/session_service.cc View 1 2 3 15 chunks +82 lines, -90 lines 0 comments Download
M chrome/browser/sessions/session_service_commands.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/sessions/session_service_commands.cc View 1 2 3 4 5 3 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/sessions/session_service_test_helper.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_service_test_helper.cc View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/sessions/session_service_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_service_utils.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_service_utils.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (12 generated)
Mr4D (OOO till 08-26)
Please have a look!
6 years, 1 month ago (2014-10-31 19:21:54 UTC) #2
Mr4D (OOO till 08-26)
Added one comment. https://codereview.chromium.org/694813003/diff/1/chrome/browser/sessions/base_session_service.h File chrome/browser/sessions/base_session_service.h (right): https://codereview.chromium.org/694813003/diff/1/chrome/browser/sessions/base_session_service.h#newcode90 chrome/browser/sessions/base_session_service.h:90: // Max number of navigation entries ...
6 years, 1 month ago (2014-10-31 19:24:01 UTC) #3
sky
https://codereview.chromium.org/694813003/diff/1/chrome/browser/sessions/base_session_service.h File chrome/browser/sessions/base_session_service.h (right): https://codereview.chromium.org/694813003/diff/1/chrome/browser/sessions/base_session_service.h#newcode90 chrome/browser/sessions/base_session_service.h:90: // Max number of navigation entries in each direction ...
6 years, 1 month ago (2014-10-31 22:36:17 UTC) #4
Mr4D (OOO till 08-26)
Addressed - for the most part. See comments! https://codereview.chromium.org/694813003/diff/1/chrome/browser/sessions/base_session_service.h File chrome/browser/sessions/base_session_service.h (right): https://codereview.chromium.org/694813003/diff/1/chrome/browser/sessions/base_session_service.h#newcode90 chrome/browser/sessions/base_session_service.h:90: // ...
6 years, 1 month ago (2014-11-01 01:28:24 UTC) #5
sky
https://codereview.chromium.org/694813003/diff/20001/chrome/browser/sessions/base_session_service.cc File chrome/browser/sessions/base_session_service.cc (right): https://codereview.chromium.org/694813003/diff/20001/chrome/browser/sessions/base_session_service.cc#newcode123 chrome/browser/sessions/base_session_service.cc:123: return backend()->inited() || !pending_commands().empty(); On 2014/11/01 01:28:23, Mr4D wrote: ...
6 years, 1 month ago (2014-11-03 15:53:22 UTC) #6
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/694813003/diff/20001/chrome/browser/sessions/base_session_service.cc File chrome/browser/sessions/base_session_service.cc (right): https://codereview.chromium.org/694813003/diff/20001/chrome/browser/sessions/base_session_service.cc#newcode123 chrome/browser/sessions/base_session_service.cc:123: return backend()->inited() || !pending_commands().empty(); On ...
6 years, 1 month ago (2014-11-03 22:05:50 UTC) #7
sky
https://codereview.chromium.org/694813003/diff/60001/chrome/browser/sessions/base_session_service.h File chrome/browser/sessions/base_session_service.h (right): https://codereview.chromium.org/694813003/diff/60001/chrome/browser/sessions/base_session_service.h#newcode80 chrome/browser/sessions/base_session_service.h:80: void EraseCommand(scoped_ptr<SessionCommand> old_command); It doesn't make sense for this ...
6 years, 1 month ago (2014-11-03 22:48:03 UTC) #8
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/694813003/diff/60001/chrome/browser/sessions/base_session_service.h File chrome/browser/sessions/base_session_service.h (right): https://codereview.chromium.org/694813003/diff/60001/chrome/browser/sessions/base_session_service.h#newcode80 chrome/browser/sessions/base_session_service.h:80: void EraseCommand(scoped_ptr<SessionCommand> old_command); I had ...
6 years, 1 month ago (2014-11-03 23:04:53 UTC) #9
sky
LGTM https://codereview.chromium.org/694813003/diff/60001/chrome/browser/sessions/persistent_tab_restore_service.cc File chrome/browser/sessions/persistent_tab_restore_service.cc (right): https://codereview.chromium.org/694813003/diff/60001/chrome/browser/sessions/persistent_tab_restore_service.cc#newcode230 chrome/browser/sessions/persistent_tab_restore_service.cc:230: int entries_written_; On 2014/11/03 23:04:53, Mr4D wrote: > ...
6 years, 1 month ago (2014-11-04 00:02:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694813003/80002
6 years, 1 month ago (2014-11-04 00:06:13 UTC) #12
Mr4D (OOO till 08-26)
Can happen! Thanks for reviewing!
6 years, 1 month ago (2014-11-04 00:06:15 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/25866)
6 years, 1 month ago (2014-11-04 14:48:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694813003/110001
6 years, 1 month ago (2014-11-04 15:06:43 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/2644)
6 years, 1 month ago (2014-11-04 16:07:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694813003/130001
6 years, 1 month ago (2014-11-04 18:11:56 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/8394)
6 years, 1 month ago (2014-11-04 19:31:56 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694813003/130001
6 years, 1 month ago (2014-11-04 21:52:27 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/8548)
6 years, 1 month ago (2014-11-04 23:13:56 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694813003/130001
6 years, 1 month ago (2014-11-05 00:49:23 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/8669)
6 years, 1 month ago (2014-11-05 02:01:34 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694813003/130001
6 years, 1 month ago (2014-11-05 14:58:50 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:130001)
6 years, 1 month ago (2014-11-05 15:27:03 UTC) #34
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 15:27:49 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d1e250bc34f3e17256bcbe9a5a394a641a9eb804
Cr-Commit-Position: refs/heads/master@{#302803}

Powered by Google App Engine
This is Rietveld 408576698