OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/history/history_publisher.h" | |
6 | |
7 #include "base/strings/utf_string_conversions.h" | |
8 | |
9 namespace history { | |
10 | |
11 void HistoryPublisher::PublishPageContent(const base::Time& time, | |
12 const GURL& url, | |
13 const string16& title, | |
14 const string16& contents) const { | |
15 PageData page_data = { | |
16 time, | |
17 url, | |
18 contents.c_str(), | |
19 title.c_str(), | |
20 }; | |
21 | |
22 PublishDataToIndexers(page_data); | |
23 } | |
24 | |
25 } // namespace history | |
OLD | NEW |