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

Unified Diff: chrome/browser/sync/glue/typed_url_model_associator.h

Issue 7550062: Limit size of typed url node. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review feedback. Created 9 years, 4 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/sync/glue/typed_url_model_associator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/typed_url_model_associator.h
diff --git a/chrome/browser/sync/glue/typed_url_model_associator.h b/chrome/browser/sync/glue/typed_url_model_associator.h
index ae4c5c180ae852625047727676f8e4f10132f2e1..b88f6e7be653a72400f65006a838fff17097bbe1 100644
--- a/chrome/browser/sync/glue/typed_url_model_associator.h
+++ b/chrome/browser/sync/glue/typed_url_model_associator.h
@@ -149,6 +149,12 @@ class TypedUrlModelAssociator
std::vector<history::VisitInfo>* new_visits,
history::VisitVector* removed_visits);
+ // Converts the passed URL information to a TypedUrlSpecifics structure for
+ // writing to the sync DB
+ static void WriteToTypedUrlSpecifics(const history::URLRow& url,
+ const history::VisitVector& visits,
+ sync_pb::TypedUrlSpecifics* specifics);
+
// Updates the passed |url_row| based on the values in |specifics|. Fields
// that are not contained in |specifics| (such as typed_count) are left
// unchanged.
« no previous file with comments | « no previous file | chrome/browser/sync/glue/typed_url_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698