• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "mojo/core/ports/user_message.h"
6 
7 namespace mojo {
8 namespace core {
9 namespace ports {
10 
UserMessage(const TypeInfo * type_info)11 UserMessage::UserMessage(const TypeInfo* type_info) : type_info_(type_info) {}
12 
13 UserMessage::~UserMessage() = default;
14 
WillBeRoutedExternally()15 bool UserMessage::WillBeRoutedExternally() {
16   return true;
17 }
18 
GetSizeIfSerialized() const19 size_t UserMessage::GetSizeIfSerialized() const {
20   return 0;
21 }
22 
23 }  // namespace ports
24 }  // namespace core
25 }  // namespace mojo
26