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.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.h')
-rw-r--r-- | chrome/browser/history/history.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index d4e821a..8e68a86 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -211,7 +211,7 @@ class HistoryService : public CancelableRequestProvider, // Notifies history of the body text of the given recently-visited URL. // If the URL was not visited "recently enough," the history system may // discard it. - void SetPageContents(const GURL& url, const std::wstring& contents); + void SetPageContents(const GURL& url, const string16& contents); // Querying ------------------------------------------------------------------ |