Commit 192c7eb6 authored by Thiago Farina's avatar Thiago Farina Committed by Commit Bot

get rid of ipc_descriptors.h

It is mostly unused, there is only one constant in that header file,
which is "used" at content/public/common/content_descriptors.h. But
let's just use 0 there, and remove this header file now.

BUG=None

TBR=bradnelson@chromium.org,isherman@chromium.org

Change-Id: Ibb768b429f79693f5b85f0ea47d037cf954badfd
Reviewed-on: https://chromium-review.googlesource.com/520942
Commit-Queue: Thiago Farina <tfarina@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#476486}
parent 4a22f717
......@@ -24,7 +24,6 @@
#include "content/public/common/content_descriptors.h"
#include "content/public/common/mojo_channel_switches.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_descriptors.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_message.h"
#include "mojo/edk/embedder/embedder.h"
......
......@@ -39,7 +39,6 @@
#include "content/public/common/mojo_channel_switches.h"
#include "content/public/common/send_zygote_child_ping_linux.h"
#include "content/public/common/zygote_fork_delegate_linux.h"
#include "ipc/ipc_descriptors.h"
#include "mojo/edk/embedder/embedder.h"
#include "sandbox/linux/services/credentials.h"
#include "sandbox/linux/services/namespace_sandbox.h"
......
......@@ -23,7 +23,6 @@
#include "content/public/common/content_switches.h"
#include "gpu/ipc/common/android/scoped_surface_request_conduit.h"
#include "gpu/ipc/common/gpu_surface_lookup.h"
#include "ipc/ipc_descriptors.h"
#include "jni/ChildProcessServiceImpl_jni.h"
#include "services/service_manager/embedder/shared_file_util.h"
#include "services/service_manager/embedder/switches.h"
......
......@@ -54,7 +54,6 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/main_function_params.h"
#include "content/public/common/sandbox_init.h"
#include "ipc/ipc_descriptors.h"
#include "media/base/media.h"
#include "ppapi/features/features.h"
#include "services/service_manager/embedder/switches.h"
......
......@@ -8,7 +8,6 @@
#include <stddef.h>
#include "base/posix/global_descriptors.h"
#include "ipc/ipc_descriptors.h"
namespace content {
......
......@@ -6,12 +6,11 @@
#define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
#include "build/build_config.h"
#include "ipc/ipc_descriptors.h"
// This is a list of global descriptor keys to be used with the
// base::GlobalDescriptors object (see base/posix/global_descriptors.h)
enum {
kCrashDumpSignal = kIPCDescriptorMax,
kCrashDumpSignal = 0,
kSandboxIPCChannel, // https://chromium.googlesource.com/chromium/src/+/master/docs/linux_sandbox_ipc.md
kMojoIPCChannel,
kFieldTrialDescriptor,
......
......@@ -40,7 +40,6 @@ component("ipc") {
"ipc_channel_proxy.h",
"ipc_channel_reader.cc",
"ipc_channel_reader.h",
"ipc_descriptors.h",
"ipc_export.h",
"ipc_listener.h",
"ipc_logging.cc",
......
// Copyright (c) 2009 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.
#ifndef IPC_IPC_DESCRIPTORS_H_
#define IPC_IPC_DESCRIPTORS_H_
// This is a list of global descriptor keys to be used with the
// base::GlobalDescriptors object (see base/posix/global_descriptors.h)
enum {
// The first key that can be use to register descriptors.
kIPCDescriptorMax = 0
};
#endif // IPC_IPC_DESCRIPTORS_H_
......@@ -17,7 +17,6 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/mojo_channel_switches.h"
#include "ipc/ipc_channel_mojo.h"
#include "ipc/ipc_descriptors.h"
#include "mojo/edk/embedder/configuration.h"
#include "mojo/edk/embedder/embedder.h"
#include "mojo/edk/embedder/incoming_broker_client_invitation.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment