summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/page_info_model.h')
-rw-r--r--chrome/browser/page_info_model.h24
1 files changed, 6 insertions, 18 deletions
diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h
index 60e3883..6bf0389 100644
--- a/chrome/browser/page_info_model.h
+++ b/chrome/browser/page_info_model.h
@@ -18,7 +18,7 @@ class PrefService;
class Profile;
// The model that provides the information that should be displayed in the page
-// info dialog/bubble.
+// info dialog.
class PageInfoModel {
public:
class PageInfoModelObserver {
@@ -29,23 +29,15 @@ class PageInfoModel {
virtual ~PageInfoModelObserver() {}
};
- enum SectionInfoType {
- SECTION_INFO_IDENTITY = 0,
- SECTION_INFO_CONNECTION,
- SECTION_INFO_FIRST_VISIT,
- };
-
struct SectionInfo {
SectionInfo(bool state,
const string16& title,
- const string16& headline,
- const string16& description,
- SectionInfoType type)
+ const string16& head_line,
+ const string16& description)
: state(state),
title(title),
- headline(headline),
- description(description),
- type(type) {
+ head_line(head_line),
+ description(description) {
}
bool state; // True if state is OK, false otherwise (ex of bad states:
@@ -55,14 +47,10 @@ class PageInfoModel {
string16 title;
// A single line describing the section, optional.
- string16 headline;
+ string16 head_line;
// The full description of what this section is.
string16 description;
-
- // The type of SectionInfo we are dealing with, for example: Identity,
- // Connection, First Visit.
- SectionInfoType type;
};
PageInfoModel(Profile* profile,