#ifndef GOOGLE_APIS_GAIA_GAIA_URLS_OVERRIDER_FOR_TESTING_H_
#define GOOGLE_APIS_GAIA_GAIA_URLS_OVERRIDER_FOR_TESTING_H_
#include <memory>
#include <string>
#include "base/memory/raw_ptr.h"
namespace base {
class CommandLine;
}
class GaiaUrls;
class GaiaUrlsOverriderForTesting {
public:
GaiaUrlsOverriderForTesting(base::CommandLine* command_line,
const std::string& url_key,
const std::string& url_value);
GaiaUrlsOverriderForTesting(const GaiaUrlsOverriderForTesting&) = delete;
GaiaUrlsOverriderForTesting& operator=(const GaiaUrlsOverriderForTesting&) =
delete;
~GaiaUrlsOverriderForTesting();
private:
const raw_ptr<base::CommandLine> command_line_;
std::unique_ptr<GaiaUrls> test_gaia_urls_;
};
#endif