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

Unified Diff: blimp/net/blimp_message_receiver.h

Issue 1429193002: Add interfaces for most major Blimp net components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address wez's feedback. Created 5 years, 1 month 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: blimp/net/blimp_message_receiver.h
diff --git a/blimp/net/blimp_message_receiver.h b/blimp/net/blimp_message_receiver.h
deleted file mode 100644
index 81707375473492cd03907883b128221546c7b0c3..0000000000000000000000000000000000000000
--- a/blimp/net/blimp_message_receiver.h
+++ /dev/null
@@ -1,27 +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 BLIMP_NET_BLIMP_MESSAGE_RECEIVER_H_
-#define BLIMP_NET_BLIMP_MESSAGE_RECEIVER_H_
-
-#include "net/base/net_errors.h"
-
-namespace blimp {
-
-class BlimpMessage;
-
-// Interface implemented by components that process BlimpMessages.
-class BlimpMessageReceiver {
- public:
- virtual ~BlimpMessageReceiver() {}
-
- // Processes the BlimpMessage, or returns a net::ERR_* on error.
- // If an error code is returned, callers should terminate the connection
- // from which |message| was received.
- virtual net::Error OnBlimpMessage(const BlimpMessage& message) = 0;
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_BLIMP_MESSAGE_RECEIVER_H_

Powered by Google App Engine
This is Rietveld 408576698