summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_model.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/page_info_model.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/page_info_model.h')
-rw-r--r--chrome/browser/page_info_model.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h
index dd3897c..9ddaa14 100644
--- a/chrome/browser/page_info_model.h
+++ b/chrome/browser/page_info_model.h
@@ -11,13 +11,16 @@
#include "base/string16.h"
#include "chrome/browser/cancelable_request.h"
#include "chrome/browser/history/history.h"
-#include "content/browser/tab_contents/navigation_entry.h"
#include "googleurl/src/gurl.h"
#include "ui/gfx/image/image.h"
class PageInfoModelObserver;
class Profile;
+namespace content {
+struct SSLStatus;
+}
+
// The model that provides the information that should be displayed in the page
// info dialog/bubble.
class PageInfoModel {
@@ -75,7 +78,7 @@ class PageInfoModel {
PageInfoModel(Profile* profile,
const GURL& url,
- const NavigationEntry::SSLStatus& ssl,
+ const content::SSLStatus& ssl,
bool show_history,
PageInfoModelObserver* observer);
~PageInfoModel();