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

Side by Side Diff: chrome/browser/history/history.h

Issue 8469018: Provide assumed favicon for intents if service provider page was never visited. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review nits Created 9 years, 1 month 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/favicon/favicon_service.cc ('k') | chrome/browser/history/history.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HISTORY_HISTORY_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 659
660 // Used by the FaviconService to get a favicon from the history backend. 660 // Used by the FaviconService to get a favicon from the history backend.
661 void GetFaviconForURL(FaviconService::GetFaviconRequest* request, 661 void GetFaviconForURL(FaviconService::GetFaviconRequest* request,
662 const GURL& page_url, 662 const GURL& page_url,
663 int icon_types); 663 int icon_types);
664 664
665 // Used by the FaviconService to mark the favicon for the page as being out 665 // Used by the FaviconService to mark the favicon for the page as being out
666 // of date. 666 // of date.
667 void SetFaviconOutOfDateForPage(const GURL& page_url); 667 void SetFaviconOutOfDateForPage(const GURL& page_url);
668 668
669 // Used by the FaviconService to clone favicons from one page to another,
670 // provided that other page does not already have favicons.
671 void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url);
672
669 // Used by the FaviconService for importing many favicons for many pages at 673 // Used by the FaviconService for importing many favicons for many pages at
670 // once. The pages must exist, any favicon sets for unknown pages will be 674 // once. The pages must exist, any favicon sets for unknown pages will be
671 // discarded. Existing favicons will not be overwritten. 675 // discarded. Existing favicons will not be overwritten.
672 void SetImportedFavicons( 676 void SetImportedFavicons(
673 const std::vector<history::ImportedFaviconUsage>& favicon_usage); 677 const std::vector<history::ImportedFaviconUsage>& favicon_usage);
674 678
675 // Used by the FaviconService to set the favicon for a page on the history 679 // Used by the FaviconService to set the favicon for a page on the history
676 // backend. 680 // backend.
677 void SetFavicon(const GURL& page_url, 681 void SetFavicon(const GURL& page_url,
678 const GURL& icon_url, 682 const GURL& icon_url,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 BookmarkService* bookmark_service_; 874 BookmarkService* bookmark_service_;
871 bool no_db_; 875 bool no_db_;
872 876
873 // True if needs top site migration. 877 // True if needs top site migration.
874 bool needs_top_sites_migration_; 878 bool needs_top_sites_migration_;
875 879
876 DISALLOW_COPY_AND_ASSIGN(HistoryService); 880 DISALLOW_COPY_AND_ASSIGN(HistoryService);
877 }; 881 };
878 882
879 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_ 883 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_service.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698