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

Unified Diff: blimp/net/black_hole_blimp_message_processor.cc

Issue 1450423002: Add glue between the client and engine for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_ipc2
Patch Set: Address comments! 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/black_hole_blimp_message_processor.cc
diff --git a/blimp/net/black_hole_blimp_message_processor.cc b/blimp/net/black_hole_blimp_message_processor.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6e721af62dec109ed4ac99655953e5126d53d279
--- /dev/null
+++ b/blimp/net/black_hole_blimp_message_processor.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "blimp/net/black_hole_blimp_message_processor.h"
+
+#include "net/base/net_errors.h"
+
+namespace blimp {
+
+void BlackHoleBlimpMessageProcessor::ProcessMessage(
+ scoped_ptr<BlimpMessage> message,
+ const net::CompletionCallback& callback) {
+ if (!callback.is_null())
+ callback.Run(net::OK);
+}
+
+} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698