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

Unified Diff: chrome/browser/ui/toolbar/chrome_toolbar_model.h

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit test debugging Created 5 years 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/ui/toolbar/chrome_toolbar_model.h
diff --git a/chrome/browser/ui/toolbar/chrome_toolbar_model.h b/chrome/browser/ui/toolbar/chrome_toolbar_model.h
index e6320aa1a2af08453cd10326d5766341af06c751..752017c03e9efa18abf133b88218e3cbe2f6e40d 100644
--- a/chrome/browser/ui/toolbar/chrome_toolbar_model.h
+++ b/chrome/browser/ui/toolbar/chrome_toolbar_model.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_UI_TOOLBAR_CHROME_TOOLBAR_MODEL_H_
#define CHROME_BROWSER_UI_TOOLBAR_CHROME_TOOLBAR_MODEL_H_
-#include "chrome/browser/ssl/security_state_model.h"
+#include "components/security_state/security_state_model.h"
#include "components/toolbar/toolbar_model.h"
// This class is a //chrome-specific extension of the ToolbarModel interface.
-// TODO(blundell): If SecurityStateModel::SecurityLevel gets componentized,
+// TODO(blundell): Now that SecurityStateModel::SecurityLevel is componentized,
blundell 2016/01/05 16:02:16 woohoo!!!!
estark 2016/01/05 22:59:30 :)
// GetSecurityLevel() can be folded into ToolbarModel and this class can go
// away. crbug.com/515071
class ChromeToolbarModel : public ToolbarModel {
@@ -20,7 +20,7 @@ class ChromeToolbarModel : public ToolbarModel {
// |ignore_editing| is true, the result reflects the underlying state of the
// page without regard to any user edits that may be in progress in the
// omnibox.
- virtual SecurityStateModel::SecurityLevel GetSecurityLevel(
+ virtual security_state::SecurityStateModel::SecurityLevel GetSecurityLevel(
bool ignore_editing) const = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698