| Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| index 41829ac0f8e850986cf12c6171d6306c63b77912..5fe6f5084a00a13c5d62542d1a248ed9988696b8 100644
|
| --- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| +++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| @@ -68,6 +68,7 @@
|
| #include "grit/platform_locale_settings.h"
|
| #include "net/base/network_change_notifier.h"
|
| #include "net/url_request/url_request.h"
|
| +#include "net/url_request/url_request_file_job.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
|
|
| @@ -338,7 +339,7 @@ void ChromeBrowserMainPartsChromeos::PreProfileInit() {
|
| // TODO(abarth): Should this move to InitializeNetworkOptions()?
|
| // Allow access to file:// on ChromeOS for tests.
|
| if (parsed_command_line().HasSwitch(switches::kAllowFileAccess))
|
| - net::URLRequest::AllowFileAccess();
|
| + net::URLRequestFileJob::AllowAccessToAllFiles();
|
|
|
| // There are two use cases for kLoginUser:
|
| // 1) if passed in tandem with kLoginPassword, to drive a "StubLogin"
|
|
|