#ifndef CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_
#define CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_
#include <map>
#include <string>
#include "base/compiler_specific.h"
#include "chrome/browser/webdata/web_database_table.h"
class TokenServiceTable : public WebDatabaseTable {
public:
TokenServiceTable(sql::Connection* db, sql::MetaTable* meta_table)
: WebDatabaseTable(db, meta_table) {}
virtual ~TokenServiceTable() {}
virtual bool Init() OVERRIDE;
virtual bool IsSyncable() OVERRIDE;
bool RemoveAllTokens();
bool GetAllTokens(std::map<std::string, std::string>* tokens);
bool SetTokenForService(const std::string& service,
const std::string& token);
private:
DISALLOW_COPY_AND_ASSIGN(TokenServiceTable);
};
#endif