Index: chrome/browser/webdata/autocomplete_syncable_service.h |
diff --git a/chrome/browser/webdata/autocomplete_syncable_service.h b/chrome/browser/webdata/autocomplete_syncable_service.h |
index 3a0a5c9cd90f4b25fdf3f7c6b8901b93a2932286..2cf1fb37f75b0500d62beb5e5055b76d1e11d494 100644 |
--- a/chrome/browser/webdata/autocomplete_syncable_service.h |
+++ b/chrome/browser/webdata/autocomplete_syncable_service.h |
@@ -47,6 +47,13 @@ class AutocompleteSyncableService |
explicit AutocompleteSyncableService(WebDataService* web_data_service); |
virtual ~AutocompleteSyncableService(); |
+ // Retrieves the AutocompleteSyncableService stored on |web_data|. |
+ static AutocompleteSyncableService* FromWebData(WebDataServiceBase* web_data); |
+ |
+ // Attaches |service| to |web_data|, transferring ownership to |web_data|. |
+ static void AttachToWebData(scoped_ptr<AutocompleteSyncableService> service, |
+ WebDataServiceBase* web_data); |
Ilya Sherman
2013/03/18 21:24:48
Why not follow the pattern used elsewhere in the A
Jói
2013/03/18 22:11:34
I was aware of the pattern but didn't think to app
|
+ |
static syncer::ModelType model_type() { return syncer::AUTOFILL; } |
// syncer::SyncableService implementation. |