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. |