summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 19:45:36 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 19:45:36 +0000
commit2e03068c5a0ea40d2849e24a1fa9abf32e920ea2 (patch)
tree521cfab42d67b091cd7f2cf817c3c0c09da9d734 /chrome/browser/automation
parent640f481577770712f0038fee86d21b8db9efaea5 (diff)
downloadchromium_src-2e03068c5a0ea40d2849e24a1fa9abf32e920ea2.zip
chromium_src-2e03068c5a0ea40d2849e24a1fa9abf32e920ea2.tar.gz
chromium_src-2e03068c5a0ea40d2849e24a1fa9abf32e920ea2.tar.bz2
Download code cleanup:
- remove unnecessary accessors - make more methods private TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/3012023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r--chrome/browser/automation/automation_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 7160a3d..bf52686 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -2135,7 +2135,7 @@ void AutomationProvider::GetDownloadsInfo(Browser* browser,
dl_item_value->SetInteger(L"id", static_cast<int>((*it)->id()));
dl_item_value->SetString(L"url", (*it)->url().spec());
dl_item_value->SetString(L"referrer_url", (*it)->referrer_url().spec());
- dl_item_value->SetString(L"file_name", (*it)->file_name().value());
+ dl_item_value->SetString(L"file_name", (*it)->GetFileName().value());
dl_item_value->SetString(L"full_path", (*it)->full_path().value());
dl_item_value->SetBoolean(L"is_paused", (*it)->is_paused());
dl_item_value->SetBoolean(L"open_when_complete",