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

Unified Diff: chrome/browser/history/history.cc

Issue 5753007: Make us save favicon in incognito mode if the url is bookmarked. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history.cc
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index 73efc915b1fbf7c5288e59d301370e342fc44e00..bd913a118c3c288fa8e32b01676bda5566e8e6ac 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -357,6 +357,13 @@ void HistoryService::AddPage(const history::HistoryAddPageArgs& add_page_args) {
add_page_args.Clone()));
}
+void HistoryService::AddPageNoVisit(const GURL& url) {
+ if (!CanAddURL(url))
+ return;
+
+ ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::AddPageNoVisit, url);
+}
+
void HistoryService::SetPageTitle(const GURL& url,
const string16& title) {
ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetPageTitle, url, title);

Powered by Google App Engine
This is Rietveld 408576698