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

Unified Diff: components/nacl/renderer/plugin/pnacl_coordinator.h

Issue 1615523003: PNaCl cleanup: Remove TempFile class and use base::File instead (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 11 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
Index: components/nacl/renderer/plugin/pnacl_coordinator.h
diff --git a/components/nacl/renderer/plugin/pnacl_coordinator.h b/components/nacl/renderer/plugin/pnacl_coordinator.h
index 5b9638ddda760e60cbb7b94cbdfd55750c4ab419..9215484b89d17d4fc4cc7975ef08171f0d80409a 100644
--- a/components/nacl/renderer/plugin/pnacl_coordinator.h
+++ b/components/nacl/renderer/plugin/pnacl_coordinator.h
@@ -10,6 +10,7 @@
#include <vector>
+#include "base/files/file.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "components/nacl/renderer/plugin/nacl_subprocess.h"
@@ -25,7 +26,6 @@ namespace plugin {
class Plugin;
class PnaclCoordinator;
class PnaclTranslateThread;
-class TempFile;
// A class invoked by Plugin to handle PNaCl client-side translation.
// Usage:
@@ -154,14 +154,14 @@ class PnaclCoordinator {
std::string architecture_attributes_;
// Object file, produced by the translator and consumed by the linker.
- std::vector<TempFile*> obj_files_;
+ std::vector<base::File> obj_files_;
// Number of split modules for llc.
int split_module_count_;
// Number of threads for llc / subzero.
int num_threads_;
// Translated nexe file, produced by the linker.
- scoped_ptr<TempFile> temp_nexe_file_;
+ base::File temp_nexe_file_;
// Used to report information when errors (PPAPI or otherwise) are reported.
ErrorInfo error_info_;

Powered by Google App Engine
This is Rietveld 408576698