#include "chrome/browser/extensions/webstore_installer_test.h"
#include <memory>
#include "base/command_line.h"
#include "base/strings/stringprintf.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/test/browser_test_utils.h"
#include "net/base/host_port_pair.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "third_party/blink/public/common/switches.h"
HttpRequest;
WebstoreInstallerTest::WebstoreInstallerTest(
const std::string& webstore_domain,
const std::string& test_data_path,
const std::string& crx_filename,
const std::string& verified_domain,
const std::string& unverified_domain)
: … { … }
WebstoreInstallerTest::~WebstoreInstallerTest() { … }
void WebstoreInstallerTest::SetUpCommandLine(base::CommandLine* command_line) { … }
void WebstoreInstallerTest::SetUpOnMainThread() { … }
GURL WebstoreInstallerTest::GenerateTestServerUrl(
const std::string& domain,
const std::string& page_filename) { … }
void WebstoreInstallerTest::ProcessServerRequest(const HttpRequest& request) { … }
void WebstoreInstallerTest::AutoAcceptInstall() { … }
void WebstoreInstallerTest::AutoCancelInstall() { … }