Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Unified Diff: chrome/browser/page_info_model.h

Issue 159521: Implementation of the page info dialog on Linux Gtk. (Closed)
Patch Set: Fix build Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/page_info_window_gtk.cc ('k') | chrome/browser/page_info_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_info_model.h
diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h
index 17c80b26dfbaf64624f190170721f9a98a67ed4f..526372e1cddd8f018feec4371cc1b921e16b9852 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,
« no previous file with comments | « chrome/browser/gtk/page_info_window_gtk.cc ('k') | chrome/browser/page_info_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698