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

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: Response to reviewv 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..4f80b595bd0a2024d9eba6348580767b37598685 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::ShouldTrackURLForRestore(const GURL& url) {
+ return ::ShouldTrackURLForRestore(url);
+}
+
+base::SequencedWorkerPool* ChromeTabRestoreServiceClient::GetBlockingPool() {
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
+ return content::BrowserThread::GetBlockingPool();
+}
+
base::FilePath ChromeTabRestoreServiceClient::GetPathToSaveTo() {
return profile_->GetPath();
}
« no previous file with comments | « chrome/browser/sessions/chrome_tab_restore_service_client.h ('k') | chrome/browser/sessions/persistent_tab_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698