#ifndef CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_SERVER_BOUND_CERT_HELPER_H_
#define CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_SERVER_BOUND_CERT_HELPER_H_
#include <map>
#include <string>
#include "chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h"
class MockBrowsingDataServerBoundCertHelper
: public BrowsingDataServerBoundCertHelper {
public:
explicit MockBrowsingDataServerBoundCertHelper();
virtual void StartFetching(const FetchResultCallback& callback) OVERRIDE;
virtual void DeleteServerBoundCert(const std::string& server_id) OVERRIDE;
void AddServerBoundCertSample(const std::string& server_id);
void Notify();
void Reset();
bool AllDeleted();
private:
virtual ~MockBrowsingDataServerBoundCertHelper();
FetchResultCallback callback_;
net::ServerBoundCertStore::ServerBoundCertList server_bound_cert_list_;
std::map<const std::string, bool> server_bound_certs_;
};
#endif