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

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

Issue 6626054: Switch to wstrings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop empty file Created 9 years, 9 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_publisher.cc
diff --git a/chrome/browser/history/history_publisher.cc b/chrome/browser/history/history_publisher.cc
index 0392632f793dd03a615ac622e2e258d9b7824569..96985171a0fc014dd1e60424cb6fa8ed62ee0458 100644
--- a/chrome/browser/history/history_publisher.cc
+++ b/chrome/browser/history/history_publisher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -29,13 +29,11 @@ void HistoryPublisher::PublishPageContent(const base::Time& time,
const GURL& url,
const string16& title,
const string16& contents) const {
- std::wstring wide_title = UTF16ToWide(title);
- std::wstring wide_contents = UTF16ToWide(contents);
PageData page_data = {
time,
url,
- wide_contents.c_str(),
- wide_title.c_str(),
+ contents.c_str(),
+ title.c_str(),
NULL,
NULL,
};
« no previous file with comments | « chrome/browser/history/history_publisher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698