void RlzLibTest::SimulateHomepageUsage() {
scoped_ptr<NavigationEntry> entry(NavigationEntry::Create());
entry->SetPageID(0);
- entry->SetTransitionType(content::PAGE_TRANSITION_HOME_PAGE);
+ entry->SetTransitionType(ui::PAGE_TRANSITION_HOME_PAGE);
tracker_.Observe(content::NOTIFICATION_NAV_ENTRY_PENDING,
content::NotificationService::AllSources(),
content::Details<NavigationEntry>(entry.get()));
TEST_F(RlzLibTest, ObserveHandlesBadArgs) {
scoped_ptr<NavigationEntry> entry(NavigationEntry::Create());
entry->SetPageID(0);
- entry->SetTransitionType(content::PAGE_TRANSITION_LINK);
+ entry->SetTransitionType(ui::PAGE_TRANSITION_LINK);
tracker_.Observe(content::NOTIFICATION_NAV_ENTRY_PENDING,
content::NotificationService::AllSources(),
content::Details<NavigationEntry>(NULL));