#ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_
#define CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "net/test/spawned_test_server/local_test_server.h"
class LocalSafeBrowsingTestServer : public net::LocalTestServer {
public:
explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file);
virtual ~LocalSafeBrowsingTestServer();
virtual bool SetPythonPath() const OVERRIDE;
virtual bool GetTestServerPath(
base::FilePath* testserver_path) const OVERRIDE;
protected:
virtual bool GenerateAdditionalArguments(
base::DictionaryValue* arguments) const OVERRIDE;
private:
base::FilePath data_file_;
DISALLOW_COPY_AND_ASSIGN(LocalSafeBrowsingTestServer);
};
#endif