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

Side by Side Diff: mojo/edk/system/configuration.cc

Issue 2744943002: Mojo: Move waiting APIs to public library (Closed)
Patch Set: . Created 3 years, 9 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
« no previous file with comments | « mojo/edk/system/awakable_list_unittest.cc ('k') | mojo/edk/system/core.h » ('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 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 edk { 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 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
17 4 * 1024 * 1024, // max_message_num_bytes 16 4 * 1024 * 1024, // max_message_num_bytes
18 10000, // max_message_num_handles 17 10000, // max_message_num_handles
19 256 * 1024 * 1024, // max_data_pipe_capacity_bytes 18 256 * 1024 * 1024, // max_data_pipe_capacity_bytes
20 1024 * 1024, // default_data_pipe_capacity_bytes 19 1024 * 1024, // default_data_pipe_capacity_bytes
21 16, // data_pipe_buffer_alignment_bytes 20 16, // data_pipe_buffer_alignment_bytes
22 1024 * 1024 * 1024}; // max_shared_memory_num_bytes 21 1024 * 1024 * 1024}; // max_shared_memory_num_bytes
23 22
24 } // namespace internal 23 } // namespace internal
25 } // namespace edk 24 } // namespace edk
26 } // namespace mojo 25 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/awakable_list_unittest.cc ('k') | mojo/edk/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698