Index: chrome/browser/extensions/autoupdate_interceptor.cc |
=================================================================== |
--- chrome/browser/extensions/autoupdate_interceptor.cc (revision 63629) |
+++ chrome/browser/extensions/autoupdate_interceptor.cc (working copy) |
@@ -5,7 +5,6 @@ |
#include "chrome/browser/extensions/autoupdate_interceptor.h" |
#include "base/file_util.h" |
-#include "base/thread_restrictions.h" |
#include "chrome/browser/browser_thread.h" |
#include "net/url_request/url_request_test_job.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -41,10 +40,6 @@ |
return NULL; |
} |
- // It's ok to do a blocking disk access on this thread; this class |
- // is just used for tests. |
- base::ThreadRestrictions::ScopedAllowIO allow_io; |
- |
// Search for this request's url, ignoring any query parameters. |
GURL url = request->url(); |
if (url.has_query()) { |
@@ -66,9 +61,6 @@ |
void AutoUpdateInterceptor::SetResponse(const std::string url, |
const FilePath& path) { |
EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- // It's ok to do a blocking disk access on this thread; this class |
- // is just used for tests. |
- base::ThreadRestrictions::ScopedAllowIO allow_io; |
GURL gurl(url); |
EXPECT_EQ("http", gurl.scheme()); |
EXPECT_EQ("localhost", gurl.host()); |