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

Side by Side Diff: components/favicon/core/browser/favicon_handler.h

Issue 983043003: Componentize FaviconService and FaviconHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon_service
Patch Set: Fix android_aosp (reverted the change by mistake by switching computer) Created 5 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_HANDLER_H_
6 #define CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ 6 #define COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_HANDLER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/task/cancelable_task_tracker.h" 15 #include "base/task/cancelable_task_tracker.h"
16 #include "components/favicon/core/favicon_url.h" 16 #include "components/favicon/core/favicon_url.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 // Best image we've seen so far. As images are downloaded from the page they 300 // Best image we've seen so far. As images are downloaded from the page they
301 // are stored here. When there is an exact match, or no more images are 301 // are stored here. When there is an exact match, or no more images are
302 // available the favicon service and the current page are updated (assuming 302 // available the favicon service and the current page are updated (assuming
303 // the image is for a favicon). 303 // the image is for a favicon).
304 FaviconCandidate best_favicon_candidate_; 304 FaviconCandidate best_favicon_candidate_;
305 305
306 DISALLOW_COPY_AND_ASSIGN(FaviconHandler); 306 DISALLOW_COPY_AND_ASSIGN(FaviconHandler);
307 }; 307 };
308 308
309 #endif // CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ 309 #endif // COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_HANDLER_H_
OLDNEW
« no previous file with comments | « components/favicon/core/browser/DEPS ('k') | components/favicon/core/browser/favicon_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698