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

Unified Diff: chrome/browser/history/history_backend.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: Address review issues 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 057b0f54c71b39284f2e155ee9d8d043ae980bc6..1ecf80cf5d182b658081f37143109d8f803576cb 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -239,6 +239,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void SetFaviconOutOfDateForPage(const GURL& page_url);
+ void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url);
+
void SetImportedFavicons(
const std::vector<ImportedFaviconUsage>& favicon_usage);
@@ -372,6 +374,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddOrUpdateIconMapping);
FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetMostRecentVisits);
FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetFaviconForURL);
+ FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest,
+ CloneFaviconIsRestrictedToSameDomain);
friend class ::TestingProfile;

Powered by Google App Engine
This is Rietveld 408576698