summaryrefslogtreecommitdiffstats
path: root/chrome/test/base
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-25 03:59:51 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-25 03:59:51 +0000
commit36fc039f12944d61df900690238a5d0303f457dd (patch)
tree1f53b1b2a137bb60bf4e696dd5e6cb706833cc2d /chrome/test/base
parent12f75ab37393f57fcac33c39673793f1579b665c (diff)
downloadchromium_src-36fc039f12944d61df900690238a5d0303f457dd.zip
chromium_src-36fc039f12944d61df900690238a5d0303f457dd.tar.gz
chromium_src-36fc039f12944d61df900690238a5d0303f457dd.tar.bz2
Create a Content API around NavigationEntry that's in content/public/browser. NavigationEntry will be renamed to NavigationEntryImpl in a later change. It now derives from content::NavigationEntry. Most of this change is changing unix_hacker functions to CamelCase and updating callers.
BUG=98716 TBR=brettw Review URL: http://codereview.chromium.org/9007043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base')
-rw-r--r--chrome/test/base/browser_with_test_window_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/test/base/browser_with_test_window_test.cc b/chrome/test/base/browser_with_test_window_test.cc
index 80bb90c..e760a4d 100644
--- a/chrome/test/base/browser_with_test_window_test.cc
+++ b/chrome/test/base/browser_with_test_window_test.cc
@@ -95,15 +95,15 @@ void BrowserWithTestWindowTest::CommitPendingLoad(
// just have a standalong pending_entry that isn't in the list already).
if (controller->pending_entry_index() >= 0) {
test_rvh->SendNavigateWithTransition(
- controller->pending_entry()->page_id(),
- controller->pending_entry()->url(),
- controller->pending_entry()->transition_type());
+ controller->pending_entry()->GetPageID(),
+ controller->pending_entry()->GetURL(),
+ controller->pending_entry()->GetTransitionType());
} else {
test_rvh->SendNavigateWithTransition(
controller->tab_contents()->
GetMaxPageIDForSiteInstance(test_rvh->site_instance()) + 1,
- controller->pending_entry()->url(),
- controller->pending_entry()->transition_type());
+ controller->pending_entry()->GetURL(),
+ controller->pending_entry()->GetTransitionType());
}
// Simulate the SwapOut_ACK that fires if you commit a cross-site navigation