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

Unified Diff: chrome/browser/favicon/favicon_handler_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/favicon/favicon_handler.cc ('k') | chrome/browser/favicon/favicon_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/favicon/favicon_handler_unittest.cc
===================================================================
--- chrome/browser/favicon/favicon_handler_unittest.cc (revision 115900)
+++ chrome/browser/favicon/favicon_handler_unittest.cc (working copy)
@@ -14,6 +14,8 @@
class TestFaviconHandler;
+using content::NavigationEntry;
+
namespace {
// Fill the given bmp with valid png data.
@@ -134,7 +136,7 @@
: tab_contents_(tab_contents) {
}
- virtual content::NavigationEntry* GetActiveEntry() {
+ virtual NavigationEntry* GetActiveEntry() {
ADD_FAILURE() << "TestFaviconHandlerDelegate::GetActiveEntry() "
<< "should never be called in tests.";
return NULL;
@@ -163,7 +165,7 @@
Type type)
: FaviconHandler(profile, delegate, type),
download_image_size_(0),
- entry_(content::NavigationEntry::Create()),
+ entry_(NavigationEntry::Create()),
download_id_(0) {
entry_->SetURL(page_url);
}
@@ -189,7 +191,7 @@
download_handler_.reset(download_handler);
}
- virtual content::NavigationEntry* GetEntry() {
+ virtual NavigationEntry* GetEntry() {
return entry_.get();
}
@@ -273,7 +275,7 @@
int download_image_size_;
private:
- scoped_ptr<content::NavigationEntry> entry_;
+ scoped_ptr<NavigationEntry> entry_;
// The unique id of a download request. It will be returned to a
// FaviconHandler.
« no previous file with comments | « chrome/browser/favicon/favicon_handler.cc ('k') | chrome/browser/favicon/favicon_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698