| Index: chrome/test/automation/browser_proxy.cc
|
| diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
|
| index 1b275d86b0894aba2047e3d15bbf63c7f70fa9ad..6456cec2589b064513a9d09fea4884efe958f014 100644
|
| --- a/chrome/test/automation/browser_proxy.cc
|
| +++ b/chrome/test/automation/browser_proxy.cc
|
| @@ -398,6 +398,19 @@ bool BrowserProxy::SetShelfVisible(bool is_visible) {
|
| is_visible));
|
| }
|
|
|
| +bool BrowserProxy::WaitForDownloadShelfVisibilityChange(bool visibility) {
|
| + if (!is_valid())
|
| + return false;
|
| +
|
| + bool result = false;
|
| +
|
| + if (!sender_->Send(new AutomationMsg_WaitForDownloadShelfVisibilityChange(
|
| + 0, handle_, visibility, &result)))
|
| + return false;
|
| +
|
| + return result;
|
| +}
|
| +
|
| bool BrowserProxy::SetIntPreference(const std::wstring& name, int value) {
|
| if (!is_valid())
|
| return false;
|
|
|