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

Unified Diff: chrome/browser/history/history_publisher.cc

Issue 2802010: Revert 49594 - Convert page contents grabbing from wide to UTF16. The current... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/437/src/
Patch Set: Created 10 years, 6 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/history/history_publisher.h ('k') | chrome/browser/history/history_querying_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_publisher.cc
===================================================================
--- chrome/browser/history/history_publisher.cc (revision 50158)
+++ chrome/browser/history/history_publisher.cc (working copy)
@@ -4,8 +4,6 @@
#include "chrome/browser/history/history_publisher.h"
-#include "base/utf_string_conversions.h"
-
namespace history {
const char* const HistoryPublisher::kThumbnailImageFormat = "image/jpeg";
@@ -28,11 +26,11 @@
void HistoryPublisher::PublishPageContent(const base::Time& time,
const GURL& url,
const std::wstring& title,
- const string16& contents) const {
+ const std::wstring& contents) const {
PageData page_data = {
time,
url,
- UTF16ToWide(contents).c_str(),
+ contents.c_str(),
title.c_str(),
NULL,
NULL,
« no previous file with comments | « chrome/browser/history/history_publisher.h ('k') | chrome/browser/history/history_querying_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698