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

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

Issue 2714012: Convert page contents grabbing from wide to UTF16. The current code is a bit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/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
Index: chrome/browser/history/history_publisher.h
===================================================================
--- chrome/browser/history/history_publisher.h (revision 49439)
+++ chrome/browser/history/history_publisher.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
Nico 2010/06/10 21:03:35 :-P
// 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"
Nico 2010/06/10 21:03:35 forward declare?
brettw 2010/06/11 21:01:04 We can't forward declare a string16 since it's act
#if defined(OS_WIN)
#include "base/scoped_comptr_win.h"
@@ -37,7 +38,7 @@
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;

Powered by Google App Engine
This is Rietveld 408576698