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

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

Issue 10815080: Add an interface for nacl to create delete-on-close temp files, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert buildbot hack Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_LOCAL_TEMP_FILE_H_ 5 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_LOCAL_TEMP_FILE_H_
6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_LOCAL_TEMP_FILE_H_ 6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_LOCAL_TEMP_FILE_H_
7 7
8 #include "native_client/src/include/nacl_macros.h" 8 #include "native_client/src/include/nacl_macros.h"
9 #include "native_client/src/include/nacl_string.h" 9 #include "native_client/src/include/nacl_string.h"
10 #include "native_client/src/trusted/desc/nacl_desc_rng.h" 10 #include "native_client/src/trusted/desc/nacl_desc_rng.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 struct NaClDescRng *rng_desc_; 121 struct NaClDescRng *rng_desc_;
122 // An identifier string used for quota request processing. The quota 122 // An identifier string used for quota request processing. The quota
123 // interface needs a string that is unique per sel_ldr instance only, so 123 // interface needs a string that is unique per sel_ldr instance only, so
124 // the identifiers can be reused between runs of the translator, start-ups of 124 // the identifiers can be reused between runs of the translator, start-ups of
125 // the browser, etc. 125 // the browser, etc.
126 uint8_t identifier_[16]; 126 uint8_t identifier_[16];
127 // A counter to dole out unique identifiers. 127 // A counter to dole out unique identifiers.
128 static uint32_t next_identifier; 128 static uint32_t next_identifier;
129 }; 129 };
130 130
131 } // namespace plugin 131 } // namespace plugin
132 132
133 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_LOCAL_TEMP_FILE_H_ 133 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_LOCAL_TEMP_FILE_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/build.scons ('k') | ppapi/native_client/src/trusted/plugin/local_temp_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698