OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/public/browser/presentation_session_message.h" | 5 #include "content/public/browser/presentation_connection_message.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 PresentationSessionMessage::PresentationSessionMessage( | 9 PresentationConnectionMessage::PresentationConnectionMessage( |
10 PresentationMessageType type) | 10 PresentationMessageType type) |
11 : type(type) {} | 11 : type(type) {} |
12 | 12 |
13 PresentationSessionMessage::~PresentationSessionMessage() {} | 13 PresentationConnectionMessage::~PresentationConnectionMessage() {} |
14 | 14 |
15 bool PresentationSessionMessage::is_binary() const { | 15 bool PresentationConnectionMessage::is_binary() const { |
16 return data != nullptr; | 16 return data != nullptr; |
17 } | 17 } |
18 | 18 |
19 } // namespace content | 19 } // namespace content |
OLD | NEW |