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

Side by Side Diff: components/favicon/core/favicon_handler_delegate.h

Issue 227153007: Remove dependency on Profile's IsOffTheRecord in favicon_handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FAVICON_create_core_dir
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/favicon/favicon_tab_helper.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_
6 #define COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_ 6 #define COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_
7 7
8 class GURL; 8 class GURL;
9 9
10 namespace content { 10 namespace content {
(...skipping 17 matching lines...) Expand all
28 // Bitmaps with pixel sizes larger than |max_bitmap_size| are filtered out 28 // Bitmaps with pixel sizes larger than |max_bitmap_size| are filtered out
29 // from the bitmap results. If there are no bitmap results <= 29 // from the bitmap results. If there are no bitmap results <=
30 // |max_bitmap_size|, the smallest bitmap is resized to |max_bitmap_size| and 30 // |max_bitmap_size|, the smallest bitmap is resized to |max_bitmap_size| and
31 // is the only result. A |max_bitmap_size| of 0 means unlimited. 31 // is the only result. A |max_bitmap_size| of 0 means unlimited.
32 virtual int StartDownload(const GURL& url, int max_bitmap_size) = 0; 32 virtual int StartDownload(const GURL& url, int max_bitmap_size) = 0;
33 33
34 // Notifies the delegate that the favicon for the active entry was updated. 34 // Notifies the delegate that the favicon for the active entry was updated.
35 // |icon_url_changed| is true if a favicon with a different icon URL has 35 // |icon_url_changed| is true if a favicon with a different icon URL has
36 // been selected since the previous call to NotifyFaviconUpdated(). 36 // been selected since the previous call to NotifyFaviconUpdated().
37 virtual void NotifyFaviconUpdated(bool icon_url_changed) = 0; 37 virtual void NotifyFaviconUpdated(bool icon_url_changed) = 0;
38
39 // Returns whether the user is operating in an off-the-record context.
40 virtual bool IsOffTheRecord() = 0;
38 }; 41 };
39 42
40 #endif // COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_ 43 #endif // COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_tab_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698