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

Side by Side Diff: components/favicon/ios/web_favicon_driver.cc

Issue 1079693002: Complete WebStateObserverBridge and follow Cocoa naming style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/ios/web_favicon_driver.h" 5 #include "components/favicon/ios/web_favicon_driver.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "components/favicon/core/favicon_url.h" 8 #include "components/favicon/core/favicon_url.h"
9 #include "components/favicon/ios/favicon_url_util.h" 9 #include "components/favicon/ios/favicon_url_util.h"
10 #include "ios/web/public/browser_state.h" 10 #include "ios/web/public/browser_state.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 FaviconService* favicon_service, 106 FaviconService* favicon_service,
107 history::HistoryService* history_service, 107 history::HistoryService* history_service,
108 bookmarks::BookmarkModel* bookmark_model) 108 bookmarks::BookmarkModel* bookmark_model)
109 : web::WebStateObserver(web_state), 109 : web::WebStateObserver(web_state),
110 FaviconDriverImpl(favicon_service, history_service, bookmark_model) { 110 FaviconDriverImpl(favicon_service, history_service, bookmark_model) {
111 } 111 }
112 112
113 WebFaviconDriver::~WebFaviconDriver() { 113 WebFaviconDriver::~WebFaviconDriver() {
114 } 114 }
115 115
116 void WebFaviconDriver::FaviconURLUpdated( 116 void WebFaviconDriver::FaviconUrlUpdated(
117 const std::vector<web::FaviconURL>& candidates) { 117 const std::vector<web::FaviconURL>& candidates) {
118 DCHECK(!candidates.empty()); 118 DCHECK(!candidates.empty());
119 OnUpdateFaviconURL(FaviconURLsFromWebFaviconURLs(candidates)); 119 OnUpdateFaviconURL(FaviconURLsFromWebFaviconURLs(candidates));
120 } 120 }
121 121
122 } // namespace favicon 122 } // namespace favicon
OLDNEW
« no previous file with comments | « components/favicon/ios/web_favicon_driver.h ('k') | components/translate/ios/browser/language_detection_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698