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

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: rebase Created 4 years, 11 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/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 5b5f12d520f62af7e457b693a53327df0c8d200e..629cf0537273ac5bf09a6211d06cb92661990ea6 100644
--- a/chrome/browser/ui/toolbar/chrome_toolbar_model.h
+++ b/chrome/browser/ui/toolbar/chrome_toolbar_model.h
@@ -6,11 +6,11 @@
#define CHROME_BROWSER_UI_TOOLBAR_CHROME_TOOLBAR_MODEL_H_
#include "base/macros.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,
// GetSecurityLevel() can be folded into ToolbarModel and this class can go
// away. crbug.com/515071
class ChromeToolbarModel : public ToolbarModel {
@@ -21,7 +21,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:
« no previous file with comments | « chrome/browser/ui/extensions/hosted_app_browser_controller.cc ('k') | chrome/browser/ui/toolbar/test_toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698