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

Unified Diff: content/browser/tab_contents/navigation_entry_impl_unittest.cc

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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: content/browser/tab_contents/navigation_entry_impl_unittest.cc
===================================================================
--- content/browser/tab_contents/navigation_entry_impl_unittest.cc (revision 118952)
+++ content/browser/tab_contents/navigation_entry_impl_unittest.cc (working copy)
@@ -5,7 +5,7 @@
#include "base/string16.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-#include "content/browser/site_instance.h"
+#include "content/browser/site_instance_impl.h"
#include "content/browser/tab_contents/navigation_entry_impl.h"
#include "content/public/browser/ssl_status.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -20,7 +20,7 @@
virtual void SetUp() {
entry1_.reset(new NavigationEntryImpl);
- instance_ = SiteInstance::CreateSiteInstance(NULL);
+ instance_ = static_cast<SiteInstanceImpl*>(SiteInstance::Create(NULL));
entry2_.reset(new NavigationEntryImpl(
instance_, 3,
GURL("test:url"),
@@ -37,7 +37,7 @@
scoped_ptr<NavigationEntryImpl> entry1_;
scoped_ptr<NavigationEntryImpl> entry2_;
// SiteInstances are deleted when their NavigationEntries are gone.
- SiteInstance* instance_;
+ SiteInstanceImpl* instance_;
};
// Test unique ID accessors
« no previous file with comments | « content/browser/tab_contents/navigation_entry_impl.cc ('k') | content/browser/tab_contents/render_view_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698