diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-25 21:56:10 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-25 21:56:10 +0000 |
commit | a37d4b081fa9c311c30e233fb1160d6d0af1353e (patch) | |
tree | f87ca96ad3c4793a7f4d2a08170a1b5db06189db /chrome/browser/errorpage_browsertest.cc | |
parent | 51b9a6b2fef24656af23c20a167ea81bedbeaa2a (diff) | |
download | chromium_src-a37d4b081fa9c311c30e233fb1160d6d0af1353e.zip chromium_src-a37d4b081fa9c311c30e233fb1160d6d0af1353e.tar.gz chromium_src-a37d4b081fa9c311c30e233fb1160d6d0af1353e.tar.bz2 |
Move browser commands into a separate file.
http://crbug.com/133576
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10657016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/errorpage_browsertest.cc')
-rw-r--r-- | chrome/browser/errorpage_browsertest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/errorpage_browsertest.cc b/chrome/browser/errorpage_browsertest.cc index ff634eec..54c4622 100644 --- a/chrome/browser/errorpage_browsertest.cc +++ b/chrome/browser/errorpage_browsertest.cc @@ -6,6 +6,7 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/net/url_request_mock_util.h" #include "chrome/browser/ui/browser.h" +#include "chrome/browser/ui/browser_commands.h" #include "chrome/browser/ui/tab_contents/tab_contents.h" #include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/ui_test_utils.h" @@ -93,9 +94,9 @@ class ErrorPageTest : public InProcessBrowserTest { NULL, num_navigations); if (direction == HISTORY_NAVIGATE_BACK) { - browser()->GoBack(CURRENT_TAB); + chrome::GoBack(browser(), CURRENT_TAB); } else if (direction == HISTORY_NAVIGATE_FORWARD) { - browser()->GoForward(CURRENT_TAB); + chrome::GoForward(browser(), CURRENT_TAB); } else { FAIL(); } |