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

Unified Diff: chrome/browser/rlz/rlz_unittest.cc

Issue 8956059: Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/rlz/rlz.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/rlz/rlz_unittest.cc
===================================================================
--- chrome/browser/rlz/rlz_unittest.cc (revision 115900)
+++ chrome/browser/rlz/rlz_unittest.cc (working copy)
@@ -24,6 +24,7 @@
#include "testing/gtest/include/gtest/gtest.h"
using base::win::RegKey;
+using content::NavigationEntry;
using registry_util::RegistryOverrideManager;
using testing::AssertionResult;
using testing::AssertionSuccess;
@@ -237,13 +238,12 @@
}
void RlzLibTest::SimulateHomepageUsage() {
- scoped_ptr<content::NavigationEntry> entry(
- content::NavigationEntry::Create());
+ scoped_ptr<NavigationEntry> entry(NavigationEntry::Create());
entry->SetPageID(0);
entry->SetTransitionType(content::PAGE_TRANSITION_HOME_PAGE);
tracker_.Observe(content::NOTIFICATION_NAV_ENTRY_PENDING,
content::NotificationService::AllSources(),
- content::Details<content::NavigationEntry>(entry.get()));
+ content::Details<NavigationEntry>(entry.get()));
}
void RlzLibTest::InvokeDelayedInit() {
@@ -582,16 +582,15 @@
}
TEST_F(RlzLibTest, ObserveHandlesBadArgs) {
- scoped_ptr<content::NavigationEntry> entry(
- content::NavigationEntry::Create());
+ scoped_ptr<NavigationEntry> entry(NavigationEntry::Create());
entry->SetPageID(0);
entry->SetTransitionType(content::PAGE_TRANSITION_LINK);
tracker_.Observe(content::NOTIFICATION_NAV_ENTRY_PENDING,
content::NotificationService::AllSources(),
- content::Details<content::NavigationEntry>(NULL));
+ content::Details<NavigationEntry>(NULL));
tracker_.Observe(content::NOTIFICATION_NAV_ENTRY_PENDING,
content::NotificationService::AllSources(),
- content::Details<content::NavigationEntry>(entry.get()));
+ content::Details<NavigationEntry>(entry.get()));
}
TEST_F(RlzLibTest, ReactivationNonOrganicNonOrganic) {
« no previous file with comments | « chrome/browser/rlz/rlz.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698