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

Unified Diff: content/browser/web_contents/navigation_controller_impl_unittest.cc

Issue 22363005: Switch BaseSessionService to use SequencedWorkerPool instead of FILE thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/navigation_controller_impl_unittest.cc
diff --git a/content/browser/web_contents/navigation_controller_impl_unittest.cc b/content/browser/web_contents/navigation_controller_impl_unittest.cc
index c3e9b1934be90bcf8d9bf17bc268fb100ef2f1e7..7a0b03b2bf06d7f09b1feb1144aae0701201b645 100644
--- a/content/browser/web_contents/navigation_controller_impl_unittest.cc
+++ b/content/browser/web_contents/navigation_controller_impl_unittest.cc
@@ -3813,7 +3813,7 @@ class NavigationControllerHistoryTest : public NavigationControllerTest {
controller.session_id(), 0);
controller.SetWindowID(window_id);
- session_helper_.set_service(service);
+ session_helper_.SetService(service);
}
virtual void TearDown() {
@@ -3841,12 +3841,12 @@ class NavigationControllerHistoryTest : public NavigationControllerTest {
// Deletes the current profile manager and creates a new one. Indirectly this
// shuts down the history database and reopens it.
void ReopenDatabase() {
- session_helper_.set_service(NULL);
+ session_helper_.SetService(NULL);
SessionServiceFactory::SetForTestProfile(profile(), NULL);
SessionService* service = new SessionService(profile());
SessionServiceFactory::SetForTestProfile(profile(), service);
- session_helper_.set_service(service);
+ session_helper_.SetService(service);
}
void GetLastSession() {
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698