| Index: chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc b/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
|
| index d2bce3701fa5321df035645f8aa0a3f45b7c63b9..97bfe6f06af7ddfee279182cf0a4f26ce9d80613 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/path_service.h"
|
| #include "base/run_loop.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "chrome/browser/browsing_data/browsing_data_helper.h"
|
| #include "chrome/browser/browsing_data/browsing_data_remover.h"
|
| #include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
|
| @@ -77,6 +78,7 @@ class BrowsingDataRemoverBrowserTest : public InProcessBrowserTest {
|
| }
|
|
|
| void DownloadAnItem() {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| base::ScopedTempDir downloads_directory;
|
| ASSERT_TRUE(downloads_directory.CreateUniqueTempDir());
|
| browser()->profile()->GetPrefs()->SetFilePath(
|
|
|