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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 years, 2 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
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 "third_party/mojo/src/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
OLDNEW
« no previous file with comments | « mojo/edk/system/configuration.h ('k') | mojo/edk/system/core.h » ('j') | mojo/edk/system/core.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698