| OLD | NEW | 
|    1 // Copyright 2014 The Chromium Authors. All rights reserved. |    1 // Copyright 2014 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 #ifndef COMPONENTS_NACL_RENDERER_NEXE_LOAD_MANAGER_H_ |    5 #ifndef COMPONENTS_NACL_RENDERER_NEXE_LOAD_MANAGER_H_ | 
|    6 #define COMPONENTS_NACL_RENDERER_NEXE_LOAD_MANAGER_H_ |    6 #define COMPONENTS_NACL_RENDERER_NEXE_LOAD_MANAGER_H_ | 
|    7  |    7  | 
|    8 #include <map> |    8 #include <map> | 
|    9 #include <string> |    9 #include <string> | 
|   10  |   10  | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   73  |   73  | 
|   74   int32_t exit_status() const { return exit_status_; } |   74   int32_t exit_status() const { return exit_status_; } | 
|   75   void set_exit_status(int32_t exit_status); |   75   void set_exit_status(int32_t exit_status); | 
|   76  |   76  | 
|   77   void InitializePlugin(uint32_t argc, const char* argn[], const char* argv[]); |   77   void InitializePlugin(uint32_t argc, const char* argn[], const char* argv[]); | 
|   78  |   78  | 
|   79   void ReportStartupOverhead() const; |   79   void ReportStartupOverhead() const; | 
|   80  |   80  | 
|   81   int64_t nexe_size() const { return nexe_size_; } |   81   int64_t nexe_size() const { return nexe_size_; } | 
|   82  |   82  | 
|   83   bool RequestNaClManifest(const std::string& url, bool* is_data_uri); |   83   bool RequestNaClManifest(const std::string& url); | 
|   84   void ProcessNaClManifest(const std::string& program_url); |   84   void ProcessNaClManifest(const std::string& program_url); | 
|   85  |   85  | 
|   86   // URL resolution support. |   86   // URL resolution support. | 
|   87   // plugin_base_url is the URL used for resolving relative URLs used in |   87   // plugin_base_url is the URL used for resolving relative URLs used in | 
|   88   // src="...". |   88   // src="...". | 
|   89   const GURL& plugin_base_url() const { return plugin_base_url_; } |   89   const GURL& plugin_base_url() const { return plugin_base_url_; } | 
|   90  |   90  | 
|   91   // manifest_base_url is the URL used for resolving relative URLs mentioned |   91   // manifest_base_url is the URL used for resolving relative URLs mentioned | 
|   92   // in manifest files.  If the manifest is a data URI, this is an empty string |   92   // in manifest files.  If the manifest is a data URI, this is an empty string | 
|   93   const GURL& manifest_base_url() const { return manifest_base_url_; } |   93   const GURL& manifest_base_url() const { return manifest_base_url_; } | 
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  158   std::string mime_type_; |  158   std::string mime_type_; | 
|  159  |  159  | 
|  160   scoped_ptr<TrustedPluginChannel> trusted_plugin_channel_; |  160   scoped_ptr<TrustedPluginChannel> trusted_plugin_channel_; | 
|  161   scoped_ptr<ManifestServiceChannel> manifest_service_channel_; |  161   scoped_ptr<ManifestServiceChannel> manifest_service_channel_; | 
|  162   base::WeakPtrFactory<NexeLoadManager> weak_factory_; |  162   base::WeakPtrFactory<NexeLoadManager> weak_factory_; | 
|  163 }; |  163 }; | 
|  164  |  164  | 
|  165 }  // namespace nacl |  165 }  // namespace nacl | 
|  166  |  166  | 
|  167 #endif  // COMPONENTS_NACL_RENDERER_NEXE_LOAD_MANAGER_H_ |  167 #endif  // COMPONENTS_NACL_RENDERER_NEXE_LOAD_MANAGER_H_ | 
| OLD | NEW |