summaryrefslogtreecommitdiffstats
path: root/content/public/browser/presentation_session_message.cc
blob: 24c78d7c5b4098f60fe056fb664c5a1923f13b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2015 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 "content/public/browser/presentation_session_message.h"

namespace content {

PresentationSessionMessage::PresentationSessionMessage(
    PresentationMessageType type)
    : type(type) {}

PresentationSessionMessage::~PresentationSessionMessage() {}

bool PresentationSessionMessage::is_binary() const {
  return data != nullptr;
}

}  // namespace content