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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 2244223002: Determine whether to show "Add to Homescreen" dialog or WebAPK infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_dialog_detector Created 4 years, 4 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/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index c93b323ee9b4527d3deea88db39a083cf63e55c3..c217d2ee766e4190081492453ac7c4151e8b3391 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -95,7 +95,7 @@
#include "chrome/browser/android/warmup_manager.h"
#include "chrome/browser/android/web_contents_factory.h"
#include "chrome/browser/android/webapk/manifest_upgrade_detector_fetcher.h"
-#include "chrome/browser/android/webapps/add_to_homescreen_dialog_helper.h"
+#include "chrome/browser/android/webapps/add_to_homescreen_process.h"
#include "chrome/browser/android/webapps/webapp_registry.h"
#include "chrome/browser/autofill/android/personal_data_manager_android.h"
#include "chrome/browser/dom_distiller/dom_distiller_service_factory_android.h"
@@ -188,8 +188,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
RegisterAutoSigninFirstRunDialogAndroid},
{"AccountManagementScreenHelper", AccountManagementScreenHelper::Register},
{"AccountTrackerService", signin::android::RegisterAccountTrackerService},
- {"AddToHomescreenDialogHelper",
- AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper},
+ {"AddToHomescreenDialogHelper", AddToHomescreenProcess::Register},
{"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI},
{"AnswersImageBridge", RegisterAnswersImageBridge},
{"AppBannerInfoBarDelegateAndroid",

Powered by Google App Engine
This is Rietveld 408576698