Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2868)

Unified Diff: chrome/browser/download/download_request_limiter_unittest.cc

Issue 1392023004: Rename android only infobars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try again Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_request_limiter_unittest.cc
diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc
index 3931a9dd5e19dcaf30f2dcd4663aa093cac4da75..30071e68b4717883ca3505e3307919fdb78e4a6e 100644
--- a/chrome/browser/download/download_request_limiter_unittest.cc
+++ b/chrome/browser/download/download_request_limiter_unittest.cc
@@ -18,7 +18,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#if defined(OS_ANDROID)
-#include "chrome/browser/download/download_request_infobar_delegate.h"
+#include "chrome/browser/download/download_request_infobar_delegate_android.h"
#include "chrome/browser/infobars/infobar_service.h"
#else
#include "chrome/browser/download/download_permission_request.h"
@@ -107,7 +107,7 @@ class DownloadRequestLimiterTest : public ChromeRenderViewHostTestHarness {
InfoBarService::CreateForWebContents(web_contents());
fake_create_callback_ = base::Bind(
&DownloadRequestLimiterTest::FakeCreate, base::Unretained(this));
- DownloadRequestInfoBarDelegate::SetCallbackForTesting(
+ DownloadRequestInfoBarDelegateAndroid::SetCallbackForTesting(
&fake_create_callback_);
#endif
@@ -151,7 +151,7 @@ class DownloadRequestLimiterTest : public ChromeRenderViewHostTestHarness {
}
virtual void UnsetDelegate() {
- DownloadRequestInfoBarDelegate::SetCallbackForTesting(NULL);
+ DownloadRequestInfoBarDelegateAndroid::SetCallbackForTesting(NULL);
}
#endif
@@ -233,7 +233,8 @@ class DownloadRequestLimiterTest : public ChromeRenderViewHostTestHarness {
private:
#if defined(OS_ANDROID)
- DownloadRequestInfoBarDelegate::FakeCreateCallback fake_create_callback_;
+ DownloadRequestInfoBarDelegateAndroid::FakeCreateCallback
+ fake_create_callback_;
#endif
scoped_ptr<TestingProfile> profile_;

Powered by Google App Engine
This is Rietveld 408576698