Index: chrome/browser/autofill/personal_data_manager.h |
=================================================================== |
--- chrome/browser/autofill/personal_data_manager.h (revision 71100) |
+++ chrome/browser/autofill/personal_data_manager.h (working copy) |
@@ -7,6 +7,7 @@ |
#pragma once |
#include <set> |
+#include <string> |
#include <vector> |
#include "base/observer_list.h" |
@@ -159,6 +160,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 +214,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); |
+ |
// The profile hosting this PersonalDataManager. |
Profile* profile_; |