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

Unified Diff: components/autofill/core/browser/webdata/autocomplete_sync_bridge.h

Issue 2582713003: [USS] Impelementation for GetData and GetAllData (Closed)
Patch Set: mark CreateAutofillEntry to public Created 4 years 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
Index: components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
diff --git a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
index 2a575ed9c500f213ce8c329f1b027c75c18a2bd2..00a69f1b8625397745f5f5cc1cb4cbc40011175e 100644
--- a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
+++ b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
@@ -64,10 +64,19 @@ class AutocompleteSyncBridge : public base::SupportsUserData::Data,
// AutofillWebDataServiceObserverOnDBThread implementation.
void AutofillEntriesChanged(const AutofillChangeList& changes) override;
+ static AutofillEntry CreateAutofillEntry(
+ const sync_pb::AutofillSpecifics& autofill_specifics);
+
private:
// Returns the table associated with the |web_data_backend_|.
AutofillTable* GetAutofillTable() const;
+ std::string GetStorageKeyFromAutofillEntry(
+ const autofill::AutofillEntry& entry);
+
+ static std::string FormatStorageKey(const std::string& name,
+ const std::string& value);
+
base::ThreadChecker thread_checker_;
// AutocompleteSyncBridge is owned by |web_data_backend_| through
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698