summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_navigation_controller.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 06:33:29 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 06:33:29 +0000
commit26b9816a2f7b37b5ed30e415aefa333e3a4f6111 (patch)
tree949f5d2b8b56a09ce635bc86887e1780b9ed2bb1 /webkit/tools/test_shell/test_navigation_controller.h
parent4d4a6356e8e1a6ac0b177cb6bd398148030cb320 (diff)
downloadchromium_src-26b9816a2f7b37b5ed30e415aefa333e3a4f6111.zip
chromium_src-26b9816a2f7b37b5ed30e415aefa333e3a4f6111.tar.gz
chromium_src-26b9816a2f7b37b5ed30e415aefa333e3a4f6111.tar.bz2
Revert r15278. More unexpected test failures :(
TBR=mpcomplete Review URL: http://codereview.chromium.org/108005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_navigation_controller.h')
-rw-r--r--webkit/tools/test_shell/test_navigation_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_navigation_controller.h b/webkit/tools/test_shell/test_navigation_controller.h
index e24fff30..07f42f8 100644
--- a/webkit/tools/test_shell/test_navigation_controller.h
+++ b/webkit/tools/test_shell/test_navigation_controller.h
@@ -16,6 +16,7 @@
class GURL;
class TestShell;
+class WebHistoryItem;
// Associated with browser-initated navigations to hold tracking data.
class TestShellExtraRequestData : public WebRequest::ExtraData {
@@ -66,6 +67,7 @@ class TestNavigationEntry {
void SetPageID(int page_id) { page_id_ = page_id; }
int32 GetPageID() const { return page_id_; }
+ WebHistoryItem* GetHistoryItem() const;
const std::wstring& GetTargetFrame() const { return target_frame_; }
private:
@@ -77,6 +79,8 @@ class TestNavigationEntry {
std::wstring title_;
std::string state_;
+ mutable scoped_refptr<WebHistoryItem> cached_history_item_;
+
std::wstring target_frame_;
DISALLOW_COPY_AND_ASSIGN(TestNavigationEntry);