Index: chrome/browser/ui/android/bluetooth_chooser_android.cc |
diff --git a/chrome/browser/ui/android/bluetooth_chooser_android.cc b/chrome/browser/ui/android/bluetooth_chooser_android.cc |
index d872f2617f2bc3e2105f060a4476968da94921f9..a297716d0eec761affe588b96cee7c81cc5169f5 100644 |
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc |
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc |
@@ -7,7 +7,7 @@ |
#include "base/android/jni_android.h" |
#include "base/android/jni_string.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "chrome/browser/ssl/chrome_security_state_model_client.h" |
+#include "chrome/browser/ssl/security_state_tab_helper.h" |
#include "chrome/common/url_constants.h" |
#include "components/url_formatter/elide_url.h" |
#include "content/public/browser/android/content_view_core.h" |
@@ -36,9 +36,9 @@ BluetoothChooserAndroid::BluetoothChooserAndroid( |
->GetWindowAndroid() |
->GetJavaObject(); |
- ChromeSecurityStateModelClient* security_model_client = |
- ChromeSecurityStateModelClient::FromWebContents(web_contents_); |
- DCHECK(security_model_client); |
+ SecurityStateTabHelper* helper = |
+ SecurityStateTabHelper::FromWebContents(web_contents_); |
+ DCHECK(helper); |
// Create (and show) the BluetoothChooser dialog. |
JNIEnv* env = AttachCurrentThread(); |
@@ -46,7 +46,7 @@ BluetoothChooserAndroid::BluetoothChooserAndroid( |
base::android::ConvertUTF16ToJavaString( |
env, url_formatter::FormatUrlForSecurityDisplay(origin.GetURL())); |
security_state::SecurityStateModel::SecurityInfo security_info; |
- security_model_client->GetSecurityInfo(&security_info); |
+ helper->GetSecurityInfo(&security_info); |
java_dialog_.Reset(Java_BluetoothChooserDialog_create( |
env, window_android, origin_string, security_info.security_level, |
reinterpret_cast<intptr_t>(this))); |