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

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

Issue 8786005: Move command line processing out of coordinator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2011 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 481
482 // File download support. |nexe_downloader_| can be opened with a specific 482 // File download support. |nexe_downloader_| can be opened with a specific
483 // callback to run when the file has been downloaded and is opened for 483 // callback to run when the file has been downloaded and is opened for
484 // reading. We use one downloader for all URL downloads to prevent issuing 484 // reading. We use one downloader for all URL downloads to prevent issuing
485 // multiple GETs that might arrive out of order. For example, this will 485 // multiple GETs that might arrive out of order. For example, this will
486 // prevent a GET of a NaCl manifest while a .nexe GET is pending. Note that 486 // prevent a GET of a NaCl manifest while a .nexe GET is pending. Note that
487 // this will also prevent simultaneous handling of multiple .nexes on a page. 487 // this will also prevent simultaneous handling of multiple .nexes on a page.
488 FileDownloader nexe_downloader_; 488 FileDownloader nexe_downloader_;
489 pp::CompletionCallbackFactory<Plugin> callback_factory_; 489 pp::CompletionCallbackFactory<Plugin> callback_factory_;
490 490
491 PnaclCoordinator pnacl_; 491 nacl::scoped_ptr<PnaclCoordinator> pnacl_coordinator_;
492 492
493 // The manifest dictionary. Used for looking up resources to be loaded. 493 // The manifest dictionary. Used for looking up resources to be loaded.
494 nacl::scoped_ptr<Manifest> manifest_; 494 nacl::scoped_ptr<Manifest> manifest_;
495 // URL processing interface for use in looking up resources in manifests. 495 // URL processing interface for use in looking up resources in manifests.
496 const pp::URLUtil_Dev* url_util_; 496 const pp::URLUtil_Dev* url_util_;
497 497
498 // A string containing the text description of the last error 498 // A string containing the text description of the last error
499 // produced by this plugin. 499 // produced by this plugin.
500 nacl::string last_error_string_; 500 nacl::string last_error_string_;
501 501
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 // in UpdateDownloadProgress to map a url loader back to the URL being 559 // in UpdateDownloadProgress to map a url loader back to the URL being
560 // downloaded. 560 // downloaded.
561 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; 561 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const;
562 562
563 int64_t time_of_last_progress_event_; 563 int64_t time_of_last_progress_event_;
564 }; 564 };
565 565
566 } // namespace plugin 566 } // namespace plugin
567 567
568 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 568 #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