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

Unified Diff: chrome/browser/media/router/route_message.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: chrome/browser/media/router/route_message.h
diff --git a/chrome/browser/media/router/route_message.h b/chrome/browser/media/router/route_message.h
deleted file mode 100644
index 6d5191db396b6ff4375f71cb3619bcc7609baec8..0000000000000000000000000000000000000000
--- a/chrome/browser/media/router/route_message.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 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 CHROME_BROWSER_MEDIA_ROUTER_ROUTE_MESSAGE_H_
-#define CHROME_BROWSER_MEDIA_ROUTER_ROUTE_MESSAGE_H_
-
-#include <stdint.h>
-
-#include <string>
-#include <vector>
-
-#include "base/optional.h"
-
-namespace media_router {
-
-// TODO(mfoltz): Replace with nearly-identical
-// content::PresentationConnectionMessage.
-struct RouteMessage {
- enum Type { TEXT, BINARY } type = TEXT;
- // Used when the |type| is TEXT.
- base::Optional<std::string> text;
- // Used when the |type| is BINARY.
- base::Optional<std::vector<uint8_t>> binary;
-
- RouteMessage();
- RouteMessage(const RouteMessage& other);
- ~RouteMessage();
-
- std::string ToHumanReadableString() const;
-};
-
-} // namespace media_router
-
-#endif // CHROME_BROWSER_MEDIA_ROUTER_ROUTE_MESSAGE_H_

Powered by Google App Engine
This is Rietveld 408576698