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

Unified Diff: components/nacl/renderer/nexe_load_manager.h

Issue 276423003: Pepper: Nexe downloading out of the trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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 | « components/nacl/renderer/manifest_downloader.cc ('k') | components/nacl/renderer/nexe_load_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/nexe_load_manager.h
diff --git a/components/nacl/renderer/nexe_load_manager.h b/components/nacl/renderer/nexe_load_manager.h
index 12e2b8880969b6a45b7d66f32e0529d627805f52..1299a9b8f8d1b9b23dde96a0618120828d25ce4f 100644
--- a/components/nacl/renderer/nexe_load_manager.h
+++ b/components/nacl/renderer/nexe_load_manager.h
@@ -11,6 +11,8 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/platform_file.h"
+#include "base/time/time.h"
#include "ppapi/c/private/ppb_nacl_private.h"
#include "url/gurl.h"
@@ -31,11 +33,11 @@ class NexeLoadManager {
~NexeLoadManager();
void NexeFileDidOpen(int32_t pp_error,
- int32_t fd,
+ base::PlatformFile file,
int32_t http_status,
int64_t nexe_bytes_read,
const std::string& url,
- int64_t time_since_open);
+ base::TimeDelta time_since_open);
void ReportLoadSuccess(const std::string& url,
uint64_t loaded_bytes,
uint64_t total_bytes);
« no previous file with comments | « components/nacl/renderer/manifest_downloader.cc ('k') | components/nacl/renderer/nexe_load_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698