Remove knowledge of extensions from TabRestoreServiceHelper
commitb5336a575fb216e06aebc70b2675737b67baf5a2
authorblundell <blundell@chromium.org>
Tue, 15 Sep 2015 06:41:44 +0000 (14 23:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 06:42:26 +0000 (15 06:42 +0000)
treeb549e0f790f65e93e07a996eb0eb58b7b56ab367
parent52fbb354ec21e2ab7952a448f294d10007338e64
Remove knowledge of extensions from TabRestoreServiceHelper

This CL removes the last problematic //chrome-level dependency from core
TabRestore code by abstracting TabRestoreServiceHelper's knowledge of the
extensions TabHelper through TabRestoreServiceClient.

BUG=371476

Review URL: https://codereview.chromium.org/1345453002

Cr-Commit-Position: refs/heads/master@{#348842}
chrome/browser/sessions/chrome_tab_restore_service_client.cc
chrome/browser/sessions/chrome_tab_restore_service_client.h
chrome/browser/sessions/tab_restore_service_helper.cc
components/sessions/core/tab_restore_service_client.h