普通文本  |  27行  |  971 B

// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "mojo/edk/system/configuration.h"

namespace mojo {
namespace edk {
namespace internal {

// These default values should be synced with the documentation in
// mojo/edk/embedder/configuration.h.
Configuration g_configuration = {
    1000000,              // max_handle_table_size
    1000000,              // max_mapping_table_sze
    1000000,              // max_wait_many_num_handles
    4 * 1024 * 1024,      // max_message_num_bytes
    10000,                // max_message_num_handles
    256 * 1024 * 1024,    // max_data_pipe_capacity_bytes
    1024 * 1024,          // default_data_pipe_capacity_bytes
    16,                   // data_pipe_buffer_alignment_bytes
    1024 * 1024 * 1024};  // max_shared_memory_num_bytes

}  // namespace internal
}  // namespace edk
}  // namespace mojo