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

Side by Side Diff: components/favicon/core/favicon_driver_impl.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/favicon/core/favicon_driver_impl.h" 5 #include "components/favicon/core/favicon_driver_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/metrics/field_trial.h" 9 #include "base/metrics/field_trial.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "build/build_config.h"
11 #include "components/bookmarks/browser/bookmark_model.h" 12 #include "components/bookmarks/browser/bookmark_model.h"
12 #include "components/favicon/core/favicon_driver_observer.h" 13 #include "components/favicon/core/favicon_driver_observer.h"
13 #include "components/favicon/core/favicon_handler.h" 14 #include "components/favicon/core/favicon_handler.h"
14 #include "components/favicon/core/favicon_service.h" 15 #include "components/favicon/core/favicon_service.h"
15 #include "components/history/core/browser/history_service.h" 16 #include "components/history/core/browser/history_service.h"
16 #include "ui/base/ui_base_switches.h" 17 #include "ui/base/ui_base_switches.h"
17 18
18 namespace favicon { 19 namespace favicon {
19 namespace { 20 namespace {
20 21
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void FaviconDriverImpl::OnUpdateFaviconURL( 115 void FaviconDriverImpl::OnUpdateFaviconURL(
115 const GURL& page_url, 116 const GURL& page_url,
116 const std::vector<FaviconURL>& candidates) { 117 const std::vector<FaviconURL>& candidates) {
117 DCHECK(!candidates.empty()); 118 DCHECK(!candidates.empty());
118 favicon_handler_->OnUpdateFaviconURL(page_url, candidates); 119 favicon_handler_->OnUpdateFaviconURL(page_url, candidates);
119 if (touch_icon_handler_.get()) 120 if (touch_icon_handler_.get())
120 touch_icon_handler_->OnUpdateFaviconURL(page_url, candidates); 121 touch_icon_handler_->OnUpdateFaviconURL(page_url, candidates);
121 } 122 }
122 123
123 } // namespace favicon 124 } // namespace favicon
OLDNEW
« no previous file with comments | « components/favicon/core/fallback_url_util_unittest.cc ('k') | components/favicon/core/favicon_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698