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

Issue 1331173002: Eliminate BaseSessionServiceDelegateImpl (Closed)

Created:
5 years, 3 months ago by blundell
Modified:
5 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@persistent_tab_restore_service_client
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Eliminate BaseSessionServiceDelegateImpl PersistentTabRestoreService::Delegate is slated for componentization. However, it inherits from BaseSessionServiceDelegateImpl, which contains //chrome-level functionality. This CL eliminates BaseSessionServiceDelegateImpl, instead having PersistentTabRestoreService::Delegate and SessionService each inherit directly from BaseSessionServiceDelegate. The one non-trivial method in BaseSessionServiceDelegateImpl (ShouldTrackEntry()) is pulled out into a standalone //chrome-level util function to avoid code duplication between ChromeTabRestoreServiceClient and SessionService. BUG=530165 Committed: https://crrev.com/6d34c3450bc604a9a3f752839442b9d5f87a2a4b Cr-Commit-Position: refs/heads/master@{#348363}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Response to reviewv #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -116 lines) Patch
D chrome/browser/sessions/base_session_service_delegate_impl.h View 1 chunk +0 lines, -34 lines 0 comments Download
D chrome/browser/sessions/base_session_service_delegate_impl.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M chrome/browser/sessions/chrome_tab_restore_service_client.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sessions/chrome_tab_restore_service_client.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/sessions/persistent_tab_restore_service.cc View 1 9 chunks +26 lines, -14 lines 0 comments Download
A chrome/browser/sessions/session_common_utils.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/sessions/session_common_utils.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_service.h View 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/sessions/session_service.cc View 1 6 chunks +24 lines, -17 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 3 chunks +10 lines, -10 lines 0 comments Download
M components/sessions/base_session_service_delegate.h View 2 chunks +2 lines, -7 lines 0 comments Download
M components/sessions/core/tab_restore_service_client.h View 1 2 chunks +8 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
blundell
5 years, 3 months ago (2015-09-10 16:17:25 UTC) #2
sky
LGTM with a better name https://codereview.chromium.org/1331173002/diff/1/chrome/browser/sessions/session_common_utils.h File chrome/browser/sessions/session_common_utils.h (right): https://codereview.chromium.org/1331173002/diff/1/chrome/browser/sessions/session_common_utils.h#newcode13 chrome/browser/sessions/session_common_utils.h:13: bool ShouldTrackEntry(const GURL& url); ...
5 years, 3 months ago (2015-09-10 18:03:51 UTC) #3
blundell
https://codereview.chromium.org/1331173002/diff/1/chrome/browser/sessions/session_common_utils.h File chrome/browser/sessions/session_common_utils.h (right): https://codereview.chromium.org/1331173002/diff/1/chrome/browser/sessions/session_common_utils.h#newcode13 chrome/browser/sessions/session_common_utils.h:13: bool ShouldTrackEntry(const GURL& url); On 2015/09/10 18:03:51, sky wrote: ...
5 years, 3 months ago (2015-09-11 08:07:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331173002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331173002/20001
5 years, 3 months ago (2015-09-11 08:08:06 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-11 09:09:19 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6d34c3450bc604a9a3f752839442b9d5f87a2a4b Cr-Commit-Position: refs/heads/master@{#348363}
5 years, 3 months ago (2015-09-11 09:10:23 UTC) #9
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:20:40 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6d34c3450bc604a9a3f752839442b9d5f87a2a4b
Cr-Commit-Position: refs/heads/master@{#348363}

Powered by Google App Engine
This is Rietveld 408576698