Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm

Issue 1742293003: Remove isolated app code from iOS's chrome_browser_state_io_data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
diff --git a/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm b/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
index 0f23ae5987e18625cbdff7b3e53da03c14a5df8c..7985e0e3bfb778328c8f7607d4c91d34744f0884 100644
--- a/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
+++ b/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
@@ -15,9 +15,7 @@ TestChromeBrowserStateWithIsolatedContext::
scoped_ptr<syncable_prefs::PrefServiceSyncable>(),
TestingFactories(),
RefcountedTestingFactories()),
- main_context_called_(false),
- request_context_(new net::TestURLRequestContextGetter(
- web::WebThread::GetTaskRunnerForThread(web::WebThread::IO))) {}
+ main_context_called_(false) {}
TestChromeBrowserStateWithIsolatedContext::
~TestChromeBrowserStateWithIsolatedContext() {}
@@ -36,9 +34,3 @@ TestChromeBrowserStateWithIsolatedContext::GetRequestContext() {
main_context_called_ = true;
return TestChromeBrowserState::GetRequestContext();
}
-
-net::URLRequestContextGetter*
-TestChromeBrowserStateWithIsolatedContext::CreateIsolatedRequestContext(
- const base::FilePath& partition_path) {
- return request_context_.get();
-}

Powered by Google App Engine
This is Rietveld 408576698