diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 21:12:36 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 21:12:36 +0000 |
commit | e510620c6b1bd4eff20b101c0cdb63166e0b117e (patch) | |
tree | 97d58f7932df064b94fd928ed9978731054d6253 /chrome/browser/history/history_publisher.h | |
parent | 3acba10eb98cd7c4e877f78537353d866b59e62f (diff) | |
download | chromium_src-e510620c6b1bd4eff20b101c0cdb63166e0b117e.zip chromium_src-e510620c6b1bd4eff20b101c0cdb63166e0b117e.tar.gz chromium_src-e510620c6b1bd4eff20b101c0cdb63166e0b117e.tar.bz2 |
Convert page contents grabbing from wide to UTF16. The current code is a bit
silly because it would capture it in UTF16, then convert to wide, send it to
the browser, then convert it to UTF-8 for FTS.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/2714012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_publisher.h')
-rw-r--r-- | chrome/browser/history/history_publisher.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/history/history_publisher.h b/chrome/browser/history/history_publisher.h index 95b1893..c7a3530 100644 --- a/chrome/browser/history/history_publisher.h +++ b/chrome/browser/history/history_publisher.h @@ -1,4 +1,4 @@ -// Copyright (c) 2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -9,6 +9,7 @@ #include <string> #include "base/basictypes.h" +#include "base/string16.h" #if defined(OS_WIN) #include "base/scoped_comptr_win.h" @@ -37,7 +38,7 @@ class HistoryPublisher { const GURL& url, const base::Time& time) const; void PublishPageContent(const base::Time& time, const GURL& url, const std::wstring& title, - const std::wstring& contents) const; + const string16& contents) const; void DeleteUserHistoryBetween(const base::Time& begin_time, const base::Time& end_time) const; |