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

Side by Side Diff: chrome/browser/history/history_publisher_win.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 <atlsafe.h> 7 #include <atlsafe.h>
8 #include <oleauto.h> 8 #include <oleauto.h>
9 #include <wtypes.h> 9 #include <wtypes.h>
10 10
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/strings/utf_string_conversions.h"
12 #include "base/time.h" 13 #include "base/time.h"
13 #include "base/utf_string_conversions.h"
14 #include "base/win/registry.h" 14 #include "base/win/registry.h"
15 #include "base/win/scoped_bstr.h" 15 #include "base/win/scoped_bstr.h"
16 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
17 #include "base/win/scoped_variant.h" 17 #include "base/win/scoped_variant.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 19
20 namespace { 20 namespace {
21 21
22 // Instantiates the registered indexers from the registry |root| + |path| key 22 // Instantiates the registered indexers from the registry |root| + |path| key
23 // and adds them to the |indexers| list. 23 // and adds them to the |indexers| list.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 base::win::ScopedBstr format(page_data.thumbnail_format ? 108 base::win::ScopedBstr format(page_data.thumbnail_format ?
109 ASCIIToWide(page_data.thumbnail_format).c_str() : 109 ASCIIToWide(page_data.thumbnail_format).c_str() :
110 NULL); 110 NULL);
111 base::win::ScopedVariant psa(thumbnail_arr.m_psa); 111 base::win::ScopedVariant psa(thumbnail_arr.m_psa);
112 for (size_t i = 0; i < indexers_.size(); ++i) { 112 for (size_t i = 0; i < indexers_.size(); ++i) {
113 indexers_[i]->SendPageData(time, url, html, title, format, psa); 113 indexers_[i]->SendPageData(time, url, html, title, format, psa);
114 } 114 }
115 } 115 }
116 116
117 } // namespace history 117 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_publisher.cc ('k') | chrome/browser/history/history_querying_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698