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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/pnacl_resources.cc

Issue 9390028: Remove browser support for non-PPAPI nexes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "native_client/src/trusted/plugin/pnacl_resources.h" 5 #include "native_client/src/trusted/plugin/pnacl_resources.h"
6 6
7 #include <utility>
8 #include <vector>
9
10 #include "native_client/src/include/portability_io.h" 7 #include "native_client/src/include/portability_io.h"
11 #include "native_client/src/shared/platform/nacl_check.h" 8 #include "native_client/src/shared/platform/nacl_check.h"
12 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" 9 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h"
13 #include "native_client/src/trusted/plugin/browser_interface.h"
14 #include "native_client/src/trusted/plugin/manifest.h" 10 #include "native_client/src/trusted/plugin/manifest.h"
15 #include "native_client/src/trusted/plugin/plugin.h" 11 #include "native_client/src/trusted/plugin/plugin.h"
16 #include "native_client/src/trusted/plugin/plugin_error.h" 12 #include "native_client/src/trusted/plugin/plugin_error.h"
17 #include "native_client/src/trusted/plugin/pnacl_coordinator.h" 13 #include "native_client/src/trusted/plugin/pnacl_coordinator.h"
18 #include "native_client/src/trusted/plugin/utility.h" 14 #include "native_client/src/trusted/plugin/utility.h"
19 15
20 #include "ppapi/c/pp_errors.h" 16 #include "ppapi/c/pp_errors.h"
21 17
22 namespace plugin { 18 namespace plugin {
23 19
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 coordinator_->ReportPpapiError(pp_error, 74 coordinator_->ReportPpapiError(pp_error,
79 "PnaclResources::ResourceReady failed."); 75 "PnaclResources::ResourceReady failed.");
80 } else { 76 } else {
81 resource_wrappers_[url] = 77 resource_wrappers_[url] =
82 plugin_->wrapper_factory()->MakeFileDesc(fd, O_RDONLY); 78 plugin_->wrapper_factory()->MakeFileDesc(fd, O_RDONLY);
83 delayed_callback_->RunIfTime(); 79 delayed_callback_->RunIfTime();
84 } 80 }
85 } 81 }
86 82
87 } // namespace plugin 83 } // namespace plugin
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698