1a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 2a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// found in the LICENSE file. 4a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 5a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#include "base/values.h" 6a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#include "content/common/content_export.h" 7a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#include "ipc/ipc_message_macros.h" 8a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 9a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef IPC_MESSAGE_EXPORT 10a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define IPC_MESSAGE_EXPORT CONTENT_EXPORT 11a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define IPC_MESSAGE_START MediaStreamTrackMetricsHostMsgStart 12a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 13a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// Messages sent to MediaStreamTrackMetricsHost. 14a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)IPC_MESSAGE_CONTROL3(MediaStreamTrackMetricsHost_AddTrack, 15a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) uint64 /* id */, 16a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) bool /* is_audio */, 17a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) bool /* is_remote */) 18a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)IPC_MESSAGE_CONTROL1(MediaStreamTrackMetricsHost_RemoveTrack, 19a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) uint64 /* id */) 20