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

Unified Diff: chrome/browser/sessions/chrome_tab_restore_service_client.cc

Issue 1331173002: Eliminate BaseSessionServiceDelegateImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@persistent_tab_restore_service_client
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sessions/chrome_tab_restore_service_client.cc
diff --git a/chrome/browser/sessions/chrome_tab_restore_service_client.cc b/chrome/browser/sessions/chrome_tab_restore_service_client.cc
index bad6bb265580ad2d01104c84a70808b1cc24bccf..c4e2b7c776b9e881381e0e608c27e90e6d97de95 100644
--- a/chrome/browser/sessions/chrome_tab_restore_service_client.cc
+++ b/chrome/browser/sessions/chrome_tab_restore_service_client.cc
@@ -8,6 +8,7 @@
#include "chrome/browser/sessions/session_service.h"
#include "chrome/browser/sessions/session_service_factory.h"
#include "chrome/common/url_constants.h"
+#include "content/public/browser/browser_thread.h"
#if defined(ENABLE_EXTENSIONS)
#include "chrome/common/extensions/extension_constants.h"
@@ -40,6 +41,15 @@ ChromeTabRestoreServiceClient::ChromeTabRestoreServiceClient(Profile* profile)
ChromeTabRestoreServiceClient::~ChromeTabRestoreServiceClient() {}
+bool ChromeTabRestoreServiceClient::ShouldTrackEntry(const GURL& url) {
+ return ::ShouldTrackEntry(url);
+}
+
+base::SequencedWorkerPool* ChromeTabRestoreServiceClient::GetBlockingPool() {
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
+ return content::BrowserThread::GetBlockingPool();
+}
+
base::FilePath ChromeTabRestoreServiceClient::GetPathToSaveTo() {
return profile_->GetPath();
}

Powered by Google App Engine
This is Rietveld 408576698