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

Unified Diff: chrome/browser/autofill/personal_data_manager.h

Issue 6213002: Propagate correct data to the Toolbar servers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: chrome/browser/autofill/personal_data_manager.h
===================================================================
--- chrome/browser/autofill/personal_data_manager.h (revision 70750)
+++ chrome/browser/autofill/personal_data_manager.h (working copy)
@@ -159,6 +159,11 @@
// Also see SetProfile for more details.
virtual void Refresh();
+ // Gets hexadecimal string of a bitmask of the data available in profile with
+ // |profile_guid| guid and credit card with |cc_guid| guid.
+ std::string PresentData(const std::string& profile_guid,
+ const std::string& cc_guid);
+
// Kicks off asynchronous loading of profiles and credit cards.
void Init(Profile* profile);
@@ -208,6 +213,10 @@
// Saves |imported_profile_| to the WebDB if it exists.
void SaveImportedProfile();
+ // Helper for PresentData(): sets present bits in |binary_data_mask|
+ // for the |profile|.
+ void SetDataPresenseBits(FormGroup const* profile, uint8* binary_data_mask);
Ilya Sherman 2011/01/11 23:17:37 nit: "Presence", not "Presense"
GeorgeY 2011/01/13 23:22:28 Fixed
+
// The profile hosting this PersonalDataManager.
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698