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

Side by Side Diff: ppapi/shared_impl/file_io_state_manager.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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
« no previous file with comments | « ppapi/shared_impl/dictionary_var.h ('k') | ppapi/shared_impl/file_ref_create_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PPAPI_SHARED_IMPL_FILE_IO_STATE_MANAGER_H_ 5 #ifndef PPAPI_SHARED_IMPL_FILE_IO_STATE_MANAGER_H_
6 #define PPAPI_SHARED_IMPL_FILE_IO_STATE_MANAGER_H_ 6 #define PPAPI_SHARED_IMPL_FILE_IO_STATE_MANAGER_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/shared_impl/ppapi_shared_export.h" 11 #include "ppapi/shared_impl/ppapi_shared_export.h"
12 12
13 namespace ppapi { 13 namespace ppapi {
14 14
15 // FileIOStateManager is a helper class that maintains the state of operations. 15 // FileIOStateManager is a helper class that maintains the state of operations.
16 // For example, some operations are mutually exclusive, meaning that an 16 // For example, some operations are mutually exclusive, meaning that an
17 // operation could be rejected because of the current pending operation. Also, 17 // operation could be rejected because of the current pending operation. Also,
18 // most of the operations only work when the file has been opened. 18 // most of the operations only work when the file has been opened.
19 class PPAPI_SHARED_EXPORT FileIOStateManager { 19 class PPAPI_SHARED_EXPORT FileIOStateManager {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Set to true when the file has been successfully opened. 60 // Set to true when the file has been successfully opened.
61 bool file_open_; 61 bool file_open_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(FileIOStateManager); 63 DISALLOW_COPY_AND_ASSIGN(FileIOStateManager);
64 }; 64 };
65 65
66 } // namespace ppapi 66 } // namespace ppapi
67 67
68 #endif // PPAPI_SHARED_IMPL_FILE_IO_STATE_MANAGER_H_ 68 #endif // PPAPI_SHARED_IMPL_FILE_IO_STATE_MANAGER_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/dictionary_var.h ('k') | ppapi/shared_impl/file_ref_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698