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

Unified Diff: extensions/browser/api/cast_channel/logger_util.h

Issue 2688463003: [chrome.cast.channel] Remove event logging. (Closed)
Patch Set: Remove errors object when socket is closed Created 3 years, 10 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: 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
deleted file mode 100644
index 2b5de5b41f4840f386a27d17e1ea4b49eeff7442..0000000000000000000000000000000000000000
--- a/extensions/browser/api/cast_channel/logger_util.h
+++ /dev/null
@@ -1,40 +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 EXTENSIONS_BROWSER_API_CAST_CHANNEL_LOGGER_UTIL_H_
-#define EXTENSIONS_BROWSER_API_CAST_CHANNEL_LOGGER_UTIL_H_
-
-#include "extensions/common/api/cast_channel.h"
-#include "extensions/common/api/cast_channel/logging.pb.h"
-
-namespace extensions {
-namespace 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);
-
-// Holds the most recent errors encountered by a CastSocket.
-struct LastErrors {
- public:
- LastErrors();
- ~LastErrors();
-
- // The most recent event that occurred at the time of the error.
- proto::EventType event_type;
-
- // The most recent ChallengeReplyErrorType logged for the socket.
- proto::ChallengeReplyErrorType challenge_reply_error_type;
-
- // The most recent net_return_value logged for the socket.
- int net_return_value;
-};
-
-} // namespace cast_channel
-} // namespace api
-} // namespace extensions
-
-#endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_LOGGER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698