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

Side by Side Diff: chrome/browser/favicon_service.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/fav_icon_helper.cc ('k') | chrome/browser/file_path_watcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/favicon_service.h" 5 #include "chrome/browser/favicon_service.h"
6 6
7 #include "chrome/browser/browser_thread.h" 7 #include "chrome/browser/browser_thread.h"
8 #include "chrome/browser/dom_ui/dom_ui_factory.h" 8 #include "chrome/browser/dom_ui/dom_ui_factory.h"
9 #include "chrome/browser/history/history.h" 9 #include "chrome/browser/history/history.h"
10 #include "chrome/browser/history/history_backend.h" 10 #include "chrome/browser/history/history_backend.h"
11 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 13
14 FaviconService::FaviconService(Profile* profile) : profile_(profile) { 14 FaviconService::FaviconService(Profile* profile) : profile_(profile) {
15 } 15 }
16 16
17 FaviconService::Handle FaviconService::GetFavicon( 17 FaviconService::Handle FaviconService::GetFavicon(
18 const GURL& icon_url, 18 const GURL& icon_url,
19 CancelableRequestConsumerBase* consumer, 19 CancelableRequestConsumerBase* consumer,
20 FaviconDataCallback* callback) { 20 FaviconDataCallback* callback) {
21 GetFaviconRequest* request = new GetFaviconRequest(callback); 21 GetFaviconRequest* request = new GetFaviconRequest(callback);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 hs->SetFavicon(page_url, icon_url, image_data); 84 hs->SetFavicon(page_url, icon_url, image_data);
85 } 85 }
86 86
87 FaviconService::~FaviconService() { 87 FaviconService::~FaviconService() {
88 } 88 }
89 89
90 void FaviconService::ForwardEmptyResultAsync(GetFaviconRequest* request) { 90 void FaviconService::ForwardEmptyResultAsync(GetFaviconRequest* request) {
91 request->ForwardResultAsync(FaviconDataCallback::TupleType(request->handle(), 91 request->ForwardResultAsync(FaviconDataCallback::TupleType(request->handle(),
92 false, NULL, false, GURL())); 92 false, NULL, false, GURL()));
93 } 93 }
OLDNEW
« no previous file with comments | « chrome/browser/fav_icon_helper.cc ('k') | chrome/browser/file_path_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698