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

Unified Diff: chrome/browser/sync/profile_sync_service_session_unittest.cc

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really remove webkit_support Created 7 years, 8 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/sync/profile_sync_service_session_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc
index 7ed919406bf2ad81e930cadd2437b77f7321736e..31fd1dc61c8ee4e78ee2d9143bf1fd52ca50bd5a 100644
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
@@ -16,7 +16,6 @@
#include "base/stl_util.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/sessions/session_types_test_helper.h"
#include "chrome/browser/signin/signin_manager.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/browser/signin/token_service_factory.h"
@@ -167,10 +166,9 @@ void VerifySyncedSession(
ASSERT_EQ("app_id", tab->extension_app_id);
ASSERT_EQ(1U, tab->navigations.size());
ASSERT_EQ(tab->navigations[0].virtual_url(), GURL("http://foo/1"));
- ASSERT_EQ(SessionTypesTestHelper::GetReferrer(tab->navigations[0]).url,
- GURL("referrer"));
+ ASSERT_EQ(tab->navigations[0].referrer().url, GURL("referrer"));
ASSERT_EQ(tab->navigations[0].title(), string16(ASCIIToUTF16("title")));
- ASSERT_EQ(SessionTypesTestHelper::GetTransitionType(tab->navigations[0]),
+ ASSERT_EQ(tab->navigations[0].transition_type(),
content::PAGE_TRANSITION_TYPED);
}
}
« no previous file with comments | « chrome/browser/sync/glue/synced_session_tracker_unittest.cc ('k') | chrome/browser/sync/test/integration/sessions_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698