#ifndef CHROME_BROWSER_SIGNIN_PRINCIPALS_MESSAGE_FILTER_H_
#define CHROME_BROWSER_SIGNIN_PRINCIPALS_MESSAGE_FILTER_H_
#include "content/public/browser/browser_message_filter.h"
class GURL;
class Profile;
class PrincipalsMessageFilter : public content::BrowserMessageFilter {
public:
explicit PrincipalsMessageFilter(int render_process_id);
virtual void OverrideThreadForMessage(
const IPC::Message& message,
content::BrowserThread::ID* thread) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE;
private:
virtual ~PrincipalsMessageFilter();
void OnMsgShowBrowserAccountManagementUI();
void OnMsgGetManagedAccounts(const GURL& url,
std::vector<std::string>* managed_accounts);
int render_process_id_;
DISALLOW_COPY_AND_ASSIGN(PrincipalsMessageFilter);
};
#endif