Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1690)

Unified Diff: content/public/browser/presentation_connection_message.h

Issue 2617143006: [Presentation API] Move Presentation API structs to public/common (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/presentation_connection_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/presentation_connection_message.h
diff --git a/content/public/browser/presentation_connection_message.h b/content/public/browser/presentation_connection_message.h
deleted file mode 100644
index 95cf6b6c40c8c79628ce7e1690a2d3d8710be06f..0000000000000000000000000000000000000000
--- a/content/public/browser/presentation_connection_message.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-
-#ifndef CONTENT_PUBLIC_BROWSER_PRESENTATION_CONNECTION_MESSAGE_H_
-#define CONTENT_PUBLIC_BROWSER_PRESENTATION_CONNECTION_MESSAGE_H_
-
-#include <stdint.h>
-
-#include <memory>
-#include <string>
-#include <vector>
-
-#include "content/common/content_export.h"
-
-namespace content {
-
-enum PresentationMessageType {
- TEXT,
- BINARY,
-};
-
-// Represents a presentation connection message.
-// If this is a text message, |data| is null; otherwise, |message| is null.
-// Empty messages are allowed.
-struct CONTENT_EXPORT PresentationConnectionMessage {
- public:
- explicit PresentationConnectionMessage(PresentationMessageType type);
- ~PresentationConnectionMessage();
-
- bool is_binary() const;
- const PresentationMessageType type;
- std::string message;
- std::unique_ptr<std::vector<uint8_t>> data;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_PRESENTATION_CONNECTION_MESSAGE_H_
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/presentation_connection_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698