| 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 #include "mojo/edk/system/configuration.h" | 5 #include "mojo/edk/system/configuration.h" |
| 6 | 6 |
| 7 namespace mojo { | 7 namespace mojo { |
| 8 namespace system { | 8 namespace edk { |
| 9 namespace internal { | 9 namespace internal { |
| 10 | 10 |
| 11 // These default values should be synced with the documentation in | 11 // These default values should be synced with the documentation in |
| 12 // mojo/edk/embedder/configuration.h. | 12 // mojo/edk/embedder/configuration.h. |
| 13 embedder::Configuration g_configuration = { | 13 Configuration g_configuration = { |
| 14 1000000, // max_handle_table_size | 14 1000000, // max_handle_table_size |
| 15 1000000, // max_mapping_table_sze | 15 1000000, // max_mapping_table_sze |
| 16 1000000, // max_wait_many_num_handles | 16 1000000, // max_wait_many_num_handles |
| 17 4 * 1024 * 1024, // max_message_num_bytes | 17 4 * 1024 * 1024, // max_message_num_bytes |
| 18 10000, // max_message_num_handles | 18 10000, // max_message_num_handles |
| 19 256 * 1024 * 1024, // max_data_pipe_capacity_bytes | 19 256 * 1024 * 1024, // max_data_pipe_capacity_bytes |
| 20 1024 * 1024, // default_data_pipe_capacity_bytes | 20 1024 * 1024, // default_data_pipe_capacity_bytes |
| 21 16, // data_pipe_buffer_alignment_bytes | 21 16, // data_pipe_buffer_alignment_bytes |
| 22 1024 * 1024 * 1024}; // max_shared_memory_num_bytes | 22 1024 * 1024 * 1024}; // max_shared_memory_num_bytes |
| 23 | 23 |
| 24 } // namespace internal | 24 } // namespace internal |
| 25 } // namespace system | 25 } // namespace edk |
| 26 } // namespace mojo | 26 } // namespace mojo |
| OLD | NEW |