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

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

Issue 5676004: Cleanup: Remove unneeded browser_thread.h usage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps 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
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"
8 #include "chrome/browser/dom_ui/dom_ui_factory.h" 7 #include "chrome/browser/dom_ui/dom_ui_factory.h"
9 #include "chrome/browser/history/history.h" 8 #include "chrome/browser/history/history.h"
10 #include "chrome/browser/history/history_backend.h" 9 #include "chrome/browser/history/history_backend.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
13 12
14 FaviconService::FaviconService(Profile* profile) : profile_(profile) { 13 FaviconService::FaviconService(Profile* profile) : profile_(profile) {
15 } 14 }
16 15
17 FaviconService::Handle FaviconService::GetFavicon( 16 FaviconService::Handle FaviconService::GetFavicon(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 hs->SetFavicon(page_url, icon_url, image_data); 83 hs->SetFavicon(page_url, icon_url, image_data);
85 } 84 }
86 85
87 FaviconService::~FaviconService() { 86 FaviconService::~FaviconService() {
88 } 87 }
89 88
90 void FaviconService::ForwardEmptyResultAsync(GetFaviconRequest* request) { 89 void FaviconService::ForwardEmptyResultAsync(GetFaviconRequest* request) {
91 request->ForwardResultAsync(FaviconDataCallback::TupleType(request->handle(), 90 request->ForwardResultAsync(FaviconDataCallback::TupleType(request->handle(),
92 false, NULL, false, GURL())); 91 false, NULL, false, GURL()));
93 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698