// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ipc/ipc_channel.h" #include <stddef.h> #include <stdint.h> #include <limits> #include "base/atomic_sequence_num.h" #include "base/rand_util.h" #include "base/strings/stringprintf.h" #include "build/build_config.h" namespace { // Global atomic used to guarantee channel IDs are unique. base::AtomicSequenceNumber g_last_id; } // namespace namespace IPC { // static constexpr size_t Channel::kMaximumMessageSize; // static std::string Channel::GenerateUniqueRandomChannelID() { … } } // namespace IPC