Index: chrome/browser/net/chrome_network_delegate.cc |
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc |
index 11a211fa7b2dece612a28152f7a3705e1f34be08..4de27d4fd55fa7fbde1af8979694dd0018b3389f 100644 |
--- a/chrome/browser/net/chrome_network_delegate.cc |
+++ b/chrome/browser/net/chrome_network_delegate.cc |
@@ -52,8 +52,8 @@ |
#include "net/url_request/url_request.h" |
#if defined(OS_CHROMEOS) |
-#include "base/chromeos/chromeos_version.h" |
#include "base/command_line.h" |
+#include "base/sys_info.h" |
#include "chrome/common/chrome_switches.h" |
#endif |
@@ -641,7 +641,7 @@ bool ChromeNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, |
#if defined(OS_CHROMEOS) |
// If we're running Chrome for ChromeOS on Linux, we want to allow file |
// access. |
- if (!base::chromeos::IsRunningOnChromeOS() || |
+ if (!base::SysInfo::IsRunningOnChromeOS() || |
CommandLine::ForCurrentProcess()->HasSwitch(switches::kTestType)) { |
return true; |
} |