Index: components/nacl/browser/nacl_host_message_filter.cc |
diff --git a/components/nacl/browser/nacl_host_message_filter.cc b/components/nacl/browser/nacl_host_message_filter.cc |
index 9da3fe51726b73a3082b190a47e3cf2ddb617f2f..12ec486823c3f204502f8b88f9fd926a7e4c5928 100644 |
--- a/components/nacl/browser/nacl_host_message_filter.cc |
+++ b/components/nacl/browser/nacl_host_message_filter.cc |
@@ -170,6 +170,9 @@ void NaClHostMessageFilter::LaunchNaClContinuation( |
nacl::NaClLaunchParams safe_launch_params(launch_params); |
safe_launch_params.resource_files_to_prefetch.clear(); |
+ // TODO(yusukes): Make sure that resource file prefetching works fine on |
+ // OS_WIN and remove the ifdef. |
+#if !defined(OS_WIN) |
content::SiteInstance* site_instance = rvh->GetSiteInstance(); |
for (size_t i = 0; i < launch_params.resource_files_to_prefetch.size(); ++i) { |
GURL gurl(launch_params.resource_files_to_prefetch[i].second); |
@@ -184,6 +187,7 @@ void NaClHostMessageFilter::LaunchNaClContinuation( |
safe_launch_params.resource_files_to_prefetch.push_back( |
launch_params.resource_files_to_prefetch[i]); |
} |
+#endif |
// Process a list of resource file URLs in |
// |launch_params.resource_files_to_prefetch|. |