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

Unified Diff: components/nacl/browser/nacl_host_message_filter.cc

Issue 1010183002: SFI NaCl: Batch-open resource files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address all comments Created 5 years, 7 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
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4214dd57a7a6df73b4d5145ab3b223711792b2b6..b55eddcf77da54fa38618426615846b40ac0434e 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_prefetch_request_list.clear();
+ // TODO(yusukes): Fix NaClProcessHost::~NaClProcessHost() and remove the
+ // ifdef.
+#if !defined(OS_WIN)
const std::vector<NaClResourcePrefetchRequest>& original_request_list =
launch_params.resource_prefetch_request_list;
content::SiteInstance* site_instance = rvh->GetSiteInstance();
@@ -186,6 +189,7 @@ void NaClHostMessageFilter::LaunchNaClContinuation(
safe_launch_params.resource_prefetch_request_list.push_back(
original_request_list[i]);
}
+#endif
// Process a list of resource file URLs in
// |launch_params.resource_files_to_prefetch|.
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698