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

Unified Diff: components/test_runner/test_runner.cc

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Fix Win clang compile Created 4 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: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index 86185b48a8917e53e83714249e615ee18fc4d34a..541efbc7c6a32a27a7bec7f2ac98d29be60efb90 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -14,7 +14,6 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
-#include "components/test_runner/app_banner_client.h"
#include "components/test_runner/layout_and_paint_async_then.h"
#include "components/test_runner/layout_dump.h"
#include "components/test_runner/mock_content_settings_client.h"
@@ -2672,9 +2671,7 @@ void TestRunner::SetPermission(const std::string& name,
void TestRunner::ResolveBeforeInstallPromptPromise(
int request_id,
const std::string& platform) {
- if (!test_interfaces_->GetAppBannerClient())
- return;
- test_interfaces_->GetAppBannerClient()->ResolvePromise(request_id, platform);
+ delegate_->ResolveBeforeInstallPromptPromise(request_id, platform);
}
void TestRunner::SetPOSIXLocale(const std::string& locale) {

Powered by Google App Engine
This is Rietveld 408576698