#include <string>
#include <utility>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/extensions/api/image_writer_private/error_constants.h"
#include "chrome/browser/extensions/api/image_writer_private/extraction_properties.h"
#include "chrome/browser/extensions/api/image_writer_private/tar_extractor.h"
#include "chrome/browser/extensions/api/image_writer_private/test_utils.h"
#include "chrome/browser/extensions/api/image_writer_private/xz_extractor.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/test/browser_test.h"
namespace extensions {
namespace image_writer {
_;
NiceMock;
SaveArg;
StrictMock;
class ExtractorBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ExtractorBrowserTest, ExtractTar) { … }
IN_PROC_BROWSER_TEST_F(ExtractorBrowserTest, ExtractTarXz) { … }
IN_PROC_BROWSER_TEST_F(ExtractorBrowserTest, ExtractNonExistentTarXz) { … }
IN_PROC_BROWSER_TEST_F(ExtractorBrowserTest, ZeroByteTarXzFile) { … }
IN_PROC_BROWSER_TEST_F(ExtractorBrowserTest, ExtractBigTarXzFile) { … }
}
}