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

Unified Diff: chrome/browser/android/vr_shell/vr_gl_thread.cc

Issue 2946523002: VR: Support security chip text on URL bar. (Closed)
Patch Set: Address comments. Created 3 years, 6 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/vr_shell/vr_gl_thread.cc
diff --git a/chrome/browser/android/vr_shell/vr_gl_thread.cc b/chrome/browser/android/vr_shell/vr_gl_thread.cc
index bee6100438f632e224e14134c5bffbdcce4ca1ab..ecfce2b8cfdd6e4921177adba43b68a3282ec2e9 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -171,11 +171,12 @@ void VrGLThread::SetLoading(bool loading) {
weak_scene_manager_, loading));
}
-void VrGLThread::SetSecurityLevel(security_state::SecurityLevel level) {
+void VrGLThread::SetSecurityInfo(security_state::SecurityLevel level,
+ bool malware) {
WaitUntilThreadStarted();
task_runner()->PostTask(FROM_HERE,
- base::Bind(&UiSceneManager::SetSecurityLevel,
- weak_scene_manager_, level));
+ base::Bind(&UiSceneManager::SetSecurityInfo,
+ weak_scene_manager_, level, malware));
}
void VrGLThread::SetURL(const GURL& gurl) {

Powered by Google App Engine
This is Rietveld 408576698