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

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

Issue 323043004: Make NOTIFICATION_HISTORY_URLS_MODIFIED fired consistently for both typed and non-typed URLs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/history/history_backend_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 497f1aa5b023cff3adbd50ee2c9036f9b02b9fbb..222b6ddfe057c6fa2bbda09b32bbf62e72988e23 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -792,10 +792,8 @@ void HistoryBackend::AddPagesWithDetails(const URLRows& urls,
return;
}
- if (i->typed_count() > 0) {
- modified->changed_urls.push_back(*i);
- modified->changed_urls.back().set_id(url_id); // i->id_ is likely 0.
- }
+ modified->changed_urls.push_back(*i);
+ modified->changed_urls.back().set_id(url_id); // i->id_ is likely 0.
}
// Sync code manages the visits itself.
« no previous file with comments | « no previous file | chrome/browser/history/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698