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

Unified Diff: blimp/net/input_message_generator.h

Issue 2632803002: Remove all blimp network code. (Closed)
Patch Set: merge from origin/master for good measure Created 3 years, 11 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 | « blimp/net/input_message_converter.cc ('k') | blimp/net/input_message_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/input_message_generator.h
diff --git a/blimp/net/input_message_generator.h b/blimp/net/input_message_generator.h
deleted file mode 100644
index 157a6b4dc5f38cb99f20330357ac5ef5ffe0a2d0..0000000000000000000000000000000000000000
--- a/blimp/net/input_message_generator.h
+++ /dev/null
@@ -1,44 +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_INPUT_MESSAGE_GENERATOR_H_
-#define BLIMP_NET_INPUT_MESSAGE_GENERATOR_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "blimp/net/blimp_net_export.h"
-#include "net/base/completion_callback.h"
-
-namespace blink {
-class WebGestureEvent;
-}
-
-namespace blimp {
-
-class BlimpMessage;
-
-// Handles creating serialized InputMessage protos from a stream of
-// WebGestureEvents. This class may be stateful to optimize the size of the
-// serialized transmission data. See InputMessageConverter for the deserialize
-// code.
-class BLIMP_NET_EXPORT InputMessageGenerator {
- public:
- InputMessageGenerator();
- ~InputMessageGenerator();
-
- // Builds a BlimpMessage from |event| that has the basic input event fields
- // populated. This might make use of state sent from previous
- // BlimpMessage::INPUT messages. It is up to the caller to populate the
- // non-input fields and to send the BlimpMessage.
- std::unique_ptr<BlimpMessage> GenerateMessage(
- const blink::WebGestureEvent& event);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(InputMessageGenerator);
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_INPUT_MESSAGE_GENERATOR_H_
« no previous file with comments | « blimp/net/input_message_converter.cc ('k') | blimp/net/input_message_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698