summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/browser_dialogs.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-27 21:38:17 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-27 21:38:17 +0000
commitd583e3f2463dd1d216c92923e2eb9a9ba6066676 (patch)
treedcb942878d5bd6b548ae28555df88f49cdb988cc /chrome/browser/ui/views/browser_dialogs.h
parent4806e850ba4d2fbc633ff2efebef757fbd050a8f (diff)
downloadchromium_src-d583e3f2463dd1d216c92923e2eb9a9ba6066676.zip
chromium_src-d583e3f2463dd1d216c92923e2eb9a9ba6066676.tar.gz
chromium_src-d583e3f2463dd1d216c92923e2eb9a9ba6066676.tar.bz2
Move FaviconStatus and SSLStatus out of NavigationEntry into their own files in content/public and in the content namespace. I've also made them structs instead of classes. This was because I didn't want to wrap them with Content API for what were really a collection of member variables. The one exception was SSLStatus::content_status which had helper functions around it to set and get the bitfield. Each of the two setter helpers were only called in one non-test code, and read in a few places, so I just converted them to do it directly.
BUG=98716 Review URL: http://codereview.chromium.org/9048002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/browser_dialogs.h')
-rw-r--r--chrome/browser/ui/views/browser_dialogs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/browser_dialogs.h b/chrome/browser/ui/views/browser_dialogs.h
index 4afb960..d7089d1 100644
--- a/chrome/browser/ui/views/browser_dialogs.h
+++ b/chrome/browser/ui/views/browser_dialogs.h
@@ -8,7 +8,6 @@
#include <string>
-#include "content/browser/tab_contents/navigation_entry.h"
#include "ui/gfx/native_widget_types.h"
// This file contains functions for running a variety of browser dialogs and
@@ -28,6 +27,10 @@ class TabContents;
class TabContentsWrapper;
class TemplateURL;
+namespace content {
+struct SSLStatus;
+}
+
namespace gfx {
class Size;
}
@@ -51,7 +54,7 @@ bool IsBookmarkBubbleViewShowing();
void ShowPageInfoBubble(views::View* anchor_view,
Profile* profile,
const GURL& url,
- const NavigationEntry::SSLStatus& ssl,
+ const content::SSLStatus& ssl,
bool show_history);
// Shows the about dialog. See AboutChromeView.