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

Side by Side Diff: chrome/browser/history/history_publisher.cc

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/history/history_publisher.h" 5 #include "chrome/browser/history/history_publisher.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 8
9 namespace history { 9 namespace history {
10 10
11 const char* const HistoryPublisher::kThumbnailImageFormat = "image/jpeg"; 11 const char* const HistoryPublisher::kThumbnailImageFormat = "image/jpeg";
12 12
13 void HistoryPublisher::PublishPageThumbnail( 13 void HistoryPublisher::PublishPageThumbnail(
14 const std::vector<unsigned char>& thumbnail, const GURL& url, 14 const std::vector<unsigned char>& thumbnail, const GURL& url,
15 const base::Time& time) const { 15 const base::Time& time) const {
16 PageData page_data = { 16 PageData page_data = {
17 time, 17 time,
(...skipping 17 matching lines...) Expand all
35 contents.c_str(), 35 contents.c_str(),
36 title.c_str(), 36 title.c_str(),
37 NULL, 37 NULL,
38 NULL, 38 NULL,
39 }; 39 };
40 40
41 PublishDataToIndexers(page_data); 41 PublishDataToIndexers(page_data);
42 } 42 }
43 43
44 } // namespace history 44 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_browsertest.cc ('k') | chrome/browser/history/history_publisher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698