| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_EDK_EMBEDDER_CONFIGURATION_H_ | 5 #ifndef MOJO_EDK_EMBEDDER_CONFIGURATION_H_ |
| 6 #define MOJO_EDK_EMBEDDER_CONFIGURATION_H_ | 6 #define MOJO_EDK_EMBEDDER_CONFIGURATION_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 9 | 10 |
| 10 namespace mojo { | 11 namespace mojo { |
| 11 namespace edk { | 12 namespace edk { |
| 12 | 13 |
| 13 // A set of constants that the Mojo system internally uses. These values should | 14 // A set of constants that the Mojo system internally uses. These values should |
| 14 // be consistent across all processes on the same system. | 15 // be consistent across all processes on the same system. |
| 15 // | 16 // |
| 16 // In general, there should be no need to change these values from their | 17 // In general, there should be no need to change these values from their |
| 17 // defaults. However, if you do change them, you must do so before | 18 // defaults. However, if you do change them, you must do so before |
| 18 // initialization. | 19 // initialization. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // TODO(vtl): Set this hard limit appropriately (e.g., higher on 64-bit). | 60 // TODO(vtl): Set this hard limit appropriately (e.g., higher on 64-bit). |
| 60 // (This will also entail some auditing to make sure I'm not messing up my | 61 // (This will also entail some auditing to make sure I'm not messing up my |
| 61 // checks anywhere.) | 62 // checks anywhere.) |
| 62 size_t max_shared_memory_num_bytes; | 63 size_t max_shared_memory_num_bytes; |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace edk | 66 } // namespace edk |
| 66 } // namespace mojo | 67 } // namespace mojo |
| 67 | 68 |
| 68 #endif // MOJO_EDK_EMBEDDER_CONFIGURATION_H_ | 69 #endif // MOJO_EDK_EMBEDDER_CONFIGURATION_H_ |
| OLD | NEW |