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

Unified Diff: chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc

Issue 1440303002: Componentize SecurityStateModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android/cros fixes Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc
diff --git a/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc b/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc
index ae4144e690b9314af2e969841dbce4023057a75f..b6cb1a0b3c7ded697ab5fe40b864be652b2426db 100644
--- a/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc
+++ b/chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc
@@ -14,7 +14,7 @@
#include "chrome/browser/command_updater.h"
#include "chrome/browser/password_manager/chrome_password_manager_client.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ssl/security_state_model.h"
+#include "chrome/browser/ssl/chrome_security_state_model_delegate.h"
#include "chrome/browser/ui/autofill/chrome_autofill_client.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h"
@@ -162,7 +162,8 @@ void SimpleWebViewDialog::StartLoad(const GURL& url) {
void SimpleWebViewDialog::Init() {
// Create the security state model that the toolbar model needs.
if (web_view_->GetWebContents())
- SecurityStateModel::CreateForWebContents(web_view_->GetWebContents());
+ ChromeSecurityStateModelDelegate::CreateForWebContents(
+ web_view_->GetWebContents());
toolbar_model_.reset(new ToolbarModelImpl(this));
set_background(views::Background::CreateSolidBackground(kDialogColor));
@@ -304,7 +305,7 @@ SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() {
void SimpleWebViewDialog::ShowWebsiteSettings(
content::WebContents* web_contents,
const GURL& url,
- const SecurityStateModel::SecurityInfo& security_info) {
+ const security_state::SecurityInfo& security_info) {
NOTIMPLEMENTED();
// TODO (markusheintz@): implement this
}
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698