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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/inode_pool.h

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 */
5 4
6 #ifndef LIBRARIES_NACL_IO_INODE_POOL_H_ 5 #ifndef LIBRARIES_NACL_IO_INODE_POOL_H_
7 #define LIBRARIES_NACL_IO_INODE_POOL_H_ 6 #define LIBRARIES_NACL_IO_INODE_POOL_H_
8 7
9 #include <stdlib.h> 8 #include <stdlib.h>
10 #include <vector> 9 #include <vector>
11 10
12 #include "nacl_io/osstat.h" 11 #include "nacl_io/osstat.h"
13 #include "pthread.h" 12 #include "pthread.h"
14 #include "sdk_util/auto_lock.h" 13 #include "sdk_util/auto_lock.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 size_t capacity() const { return max_nodes_; } 48 size_t capacity() const { return max_nodes_; }
50 49
51 private: 50 private:
52 size_t num_nodes_; 51 size_t num_nodes_;
53 size_t max_nodes_; 52 size_t max_nodes_;
54 std::vector<ino_t> inos_; 53 std::vector<ino_t> inos_;
55 SimpleLock lock_; 54 SimpleLock lock_;
56 }; 55 };
57 56
58 #endif // LIBRARIES_NACL_IO_INODE_POOL_H_ 57 #endif // LIBRARIES_NACL_IO_INODE_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698