Index: chrome/browser/page_info_model.h |
=================================================================== |
--- chrome/browser/page_info_model.h (revision 57313) |
+++ chrome/browser/page_info_model.h (working copy) |
@@ -18,7 +18,7 @@ |
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 @@ |
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 @@ |
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, |