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

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

Issue 10096015: Single URL Expires Were Not Being Deleted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_notifications.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_extension_api.cc
===================================================================
--- chrome/browser/history/history_extension_api.cc (revision 132411)
+++ chrome/browser/history/history_extension_api.cc (working copy)
@@ -145,10 +145,9 @@
DictionaryValue* dict = new DictionaryValue();
dict->SetBoolean(kAllHistoryKey, details->all_history);
ListValue* urls = new ListValue();
- for (std::set<GURL>::const_iterator iterator = details->urls.begin();
- iterator != details->urls.end();
- ++iterator) {
- urls->Append(new StringValue(iterator->spec()));
+ for (history::URLRows::const_iterator iterator = details->rows.begin();
+ iterator != details->rows.end(); ++iterator) {
+ urls->Append(new StringValue(iterator->url().spec()));
}
dict->Set(kUrlsKey, urls);
args.Append(dict);
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_notifications.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698