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

Unified Diff: chrome/browser/importer/profile_import_process_messages.h

Issue 7232023: Added last_modified field to TemplateURL and database. Updated unit tests, including refactoring ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « base/test/mock_time_provider.cc ('k') | chrome/browser/search_engines/template_url.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/profile_import_process_messages.h
===================================================================
--- chrome/browser/importer/profile_import_process_messages.h (revision 90021)
+++ chrome/browser/importer/profile_import_process_messages.h (working copy)
@@ -274,6 +274,7 @@
WriteParam(m, p.languages());
WriteParam(m, p.input_encodings());
WriteParam(m, p.date_created());
+ WriteParam(m, p.last_modified());
WriteParam(m, p.usage_count());
WriteParam(m, p.prepopulate_id());
}
@@ -291,6 +292,7 @@
std::vector<string16> languages;
std::vector<std::string> input_encodings;
base::Time date_created;
+ base::Time last_modified;
int usage_count;
int prepopulate_id;
@@ -332,6 +334,7 @@
if (!ReadParam(m, iter, &languages) ||
!ReadParam(m, iter, &input_encodings) ||
!ReadParam(m, iter, &date_created) ||
+ !ReadParam(m, iter, &last_modified) ||
!ReadParam(m, iter, &usage_count) ||
!ReadParam(m, iter, &prepopulate_id))
return false;
@@ -355,6 +358,7 @@
}
p->set_input_encodings(input_encodings);
p->set_date_created(date_created);
+ p->set_last_modified(last_modified);
p->set_usage_count(usage_count);
p->set_prepopulate_id(prepopulate_id);
return true;
« no previous file with comments | « base/test/mock_time_provider.cc ('k') | chrome/browser/search_engines/template_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698