summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_model.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 18:08:49 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 18:08:49 +0000
commitf0037f16b1ce3bdecd6b99caff499f6ed5b6ef6a (patch)
treea0fafb8f84a8cfdee688a0749908cad9200969bb /chrome/browser/page_info_model.h
parentba2f3342c8a56acf038d2043c2a664b74b4f2c58 (diff)
downloadchromium_src-f0037f16b1ce3bdecd6b99caff499f6ed5b6ef6a.zip
chromium_src-f0037f16b1ce3bdecd6b99caff499f6ed5b6ef6a.tar.gz
chromium_src-f0037f16b1ce3bdecd6b99caff499f6ed5b6ef6a.tar.bz2
Implementation of the page info dialog on Linux Gtk.
BUG=http://crbug.com/11598 TEST=Visit an HTTPS page, click the lock icon, the page info should show. Review URL: http://codereview.chromium.org/159521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/page_info_model.h')
-rw-r--r--chrome/browser/page_info_model.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h
index 17c80b2..526372e 100644
--- a/chrome/browser/page_info_model.h
+++ b/chrome/browser/page_info_model.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_PAGE_INFO_MODEL_H_
#define CHROME_BROWSER_PAGE_INFO_MODEL_H_
-#include <string>
#include <vector>
+#include "base/string16.h"
#include "chrome/browser/cancelable_request.h"
#include "chrome/browser/history/history.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
@@ -37,9 +37,9 @@ class PageInfoModel {
struct SectionInfo {
SectionInfo(bool state,
- const std::wstring& title,
- const std::wstring& head_line,
- const std::wstring& description)
+ const string16& title,
+ const string16& head_line,
+ const string16& description)
: state(state),
title(title),
head_line(head_line),
@@ -50,13 +50,13 @@ class PageInfoModel {
// unverified identity over HTTPS).
// The title of the section.
- std::wstring title;
+ string16 title;
// A single line describing the section, optional.
- std::wstring head_line;
+ string16 head_line;
// The full description of what this section is.
- std::wstring description;
+ string16 description;
};
PageInfoModel(Profile* profile,