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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/plugin.h

Issue 10905310: Start IPC-based NaCl PPAPI proxy after all untrusted code has loaded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // -*- c++ -*- 1 // -*- c++ -*-
2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 // The portable representation of an instance and root scriptable object. 6 // The portable representation of an instance and root scriptable object.
7 // The PPAPI version of the plugin instantiates a subclass of this class. 7 // The PPAPI version of the plugin instantiates a subclass of this class.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 int64_t bytes_received, 520 int64_t bytes_received,
521 int64_t total_bytes_to_be_received); 521 int64_t total_bytes_to_be_received);
522 522
523 // Finds the file downloader which owns the given URL loader. This is used 523 // Finds the file downloader which owns the given URL loader. This is used
524 // in UpdateDownloadProgress to map a url loader back to the URL being 524 // in UpdateDownloadProgress to map a url loader back to the URL being
525 // downloaded. 525 // downloaded.
526 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; 526 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const;
527 527
528 int64_t time_of_last_progress_event_; 528 int64_t time_of_last_progress_event_;
529 529
530 // Whether we are using IPC-based PPAPI proxy.
531 bool using_ipc_proxy_;
532
533 const PPB_NaCl_Private* nacl_interface_; 530 const PPB_NaCl_Private* nacl_interface_;
534 }; 531 };
535 532
536 } // namespace plugin 533 } // namespace plugin
537 534
538 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 535 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698