summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 04:16:44 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 04:16:44 +0000
commit49a14a8af7d0186c0c6de56271dffdf54643b5fd (patch)
tree55403096e800c9c8685d800f313d5710afe02dc6 /chrome/browser/download
parent80f8dafc252632661d8c26835f0d92b387390532 (diff)
downloadchromium_src-49a14a8af7d0186c0c6de56271dffdf54643b5fd.zip
chromium_src-49a14a8af7d0186c0c6de56271dffdf54643b5fd.tar.gz
chromium_src-49a14a8af7d0186c0c6de56271dffdf54643b5fd.tar.bz2
Mechanic change based on comment from previous code review.
Rename RunCommand to RunCommandAsync and RunCommandSync to RunCommand. Review URL: http://codereview.chromium.org/57039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/save_page_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/save_page_uitest.cc b/chrome/browser/download/save_page_uitest.cc
index 6531267..78e3759 100644
--- a/chrome/browser/download/save_page_uitest.cc
+++ b/chrome/browser/download/save_page_uitest.cc
@@ -135,7 +135,7 @@ TEST_F(SavePageTest, FilenameFromPageTitle) {
scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
automation()->SavePackageShouldPromptUser(false);
- EXPECT_TRUE(browser->RunCommand(IDC_SAVE_PAGE));
+ EXPECT_TRUE(browser->RunCommandAsync(IDC_SAVE_PAGE));
EXPECT_TRUE(WaitForDownloadShelfVisible(tab.get()));
automation()->SavePackageShouldPromptUser(true);
@@ -158,7 +158,7 @@ TEST_F(SavePageTest, CleanFilenameFromPageTitle) {
scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
automation()->SavePackageShouldPromptUser(false);
- EXPECT_TRUE(browser->RunCommand(IDC_SAVE_PAGE));
+ EXPECT_TRUE(browser->RunCommandAsync(IDC_SAVE_PAGE));
EXPECT_TRUE(WaitForDownloadShelfVisible(tab.get()));
automation()->SavePackageShouldPromptUser(true);