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

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 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_;

Powered by Google App Engine
This is Rietveld 408576698