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

Unified Diff: components/cast_channel/cast_message_util.h

Issue 2926313002: Revert of [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: Created 3 years, 6 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 | « components/cast_channel/cast_framer_unittest.cc ('k') | components/cast_channel/cast_message_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/cast_message_util.h
diff --git a/components/cast_channel/cast_message_util.h b/components/cast_channel/cast_message_util.h
deleted file mode 100644
index db30a2273f0add371c9dfdb19ea28214233a75c8..0000000000000000000000000000000000000000
--- a/components/cast_channel/cast_message_util.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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 COMPONENTS_CAST_CHANNEL_CAST_MESSAGE_UTIL_H_
-#define COMPONENTS_CAST_CHANNEL_CAST_MESSAGE_UTIL_H_
-
-#include <string>
-
-namespace cast_channel {
-
-class AuthContext;
-class CastMessage;
-class DeviceAuthMessage;
-
-// Checks if the contents of |message_proto| are valid.
-bool IsCastMessageValid(const CastMessage& message_proto);
-
-// Returns a human readable string for |message_proto|.
-std::string CastMessageToString(const CastMessage& message_proto);
-
-// Returns a human readable string for |message|.
-std::string AuthMessageToString(const DeviceAuthMessage& message);
-
-// Fills |message_proto| appropriately for an auth challenge request message.
-// Uses the nonce challenge in |auth_context|.
-void CreateAuthChallengeMessage(CastMessage* message_proto,
- const AuthContext& auth_context);
-
-// Returns whether the given message is an auth handshake message.
-bool IsAuthMessage(const CastMessage& message);
-
-} // namespace cast_channel
-
-#endif // COMPONENTS_CAST_CHANNEL_CAST_MESSAGE_UTIL_H_
« no previous file with comments | « components/cast_channel/cast_framer_unittest.cc ('k') | components/cast_channel/cast_message_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698