Index: chrome/browser/gtk/certificate_manager.h |
diff --git a/chrome/browser/gtk/certificate_manager.h b/chrome/browser/gtk/certificate_manager.h |
index 96f3d8905bc5c8143a7e929067ad64b7a19fcce9..f8534bc9c8908f9ef42f646e73be3248ff4d66d1 100644 |
--- a/chrome/browser/gtk/certificate_manager.h |
+++ b/chrome/browser/gtk/certificate_manager.h |
@@ -7,6 +7,30 @@ |
#include "gfx/native_widget_types.h" |
-void ShowCertificateManager(gfx::NativeWindow parent); |
+class Profile; |
+class PrefService; |
+ |
+// An identifier for the Certificate Manager window. These are treated as |
+// indices into the list of available tabs to be displayed. |
+// PAGE_DEFAULT means select the last tab viewed when the Certificate Manager |
+// window was opened, or PAGE_USER if the Certificate Manager was never opened. |
+enum CertificateManagerPage { |
+ PAGE_DEFAULT = -1, |
+ PAGE_USER, |
+ PAGE_EMAIL, |
+ PAGE_SERVER, |
+ PAGE_CA, |
+ PAGE_UNKNOWN, |
+ PAGE_COUNT |
+}; |
+ |
+namespace certificate_manager_util { |
+ |
+void RegisterUserPrefs(PrefService* prefs); |
+ |
+} // namespace certificate_manager_util |
+ |
+void ShowCertificateManager(gfx::NativeWindow parent, Profile* profile, |
+ CertificateManagerPage page); |
#endif // CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_ |