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

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

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/toolbar_model.h
===================================================================
--- chrome/browser/ui/toolbar/toolbar_model.h (revision 87796)
+++ chrome/browser/ui/toolbar/toolbar_model.h (working copy)
@@ -9,10 +9,15 @@
#include <string>
#include "base/basictypes.h"
+#include "base/string16.h"
class Browser;
class NavigationController;
+namespace net {
+class X509Certificate;
+}
+
// This class is the model used by the toolbar, location bar and autocomplete
// edit. It populates its states from the current navigation entry retrieved
// from the navigation controller returned by GetNavigationController().
@@ -54,6 +59,9 @@
void set_input_in_progress(bool value) { input_in_progress_ = value; }
bool input_in_progress() const { return input_in_progress_; }
+ // Returns "<organization_name> [<country>]".
+ static string16 GetEVCertName(const net::X509Certificate& cert);
+
private:
// Returns the navigation controller used to retrieve the navigation entry
// from which the states are retrieved.
« no previous file with comments | « chrome/browser/ui/gtk/ssl_client_certificate_selector.cc ('k') | chrome/browser/ui/toolbar/toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698