Index: extensions/browser/api/cast_channel/logger_util.h |
diff --git a/extensions/browser/api/cast_channel/logger_util.h b/extensions/browser/api/cast_channel/logger_util.h |
index 499b1e55ddc8cf1524eb58a2ac4cd63f76701413..b00e8fcca166aadfaedbc46e9ede4cfd26a86ee2 100644 |
--- a/extensions/browser/api/cast_channel/logger_util.h |
+++ b/extensions/browser/api/cast_channel/logger_util.h |
@@ -6,16 +6,13 @@ |
#define EXTENSIONS_BROWSER_API_CAST_CHANNEL_LOGGER_UTIL_H_ |
#include "extensions/browser/api/cast_channel/logging.pb.h" |
-#include "extensions/common/api/cast_channel.h" |
namespace extensions { |
namespace core_api { |
namespace cast_channel { |
-// Converts an IDL "ChannelError" to a proto enum "ErrorState". |
-proto::ErrorState ErrorStateToProto(ChannelError state); |
-// Converts an IDL "ReadyState" to a proto enum "ReadyState". |
-proto::ReadyState ReadyStateToProto(ReadyState state); |
+// TODO(mfoltz): Move the *ToProto functions from cast_socket.cc here. |
+// CastSocket should not need to know details of the logging protocol message. |
// Holds the most recent errors encountered by a CastSocket. |
struct LastErrors { |