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

Unified Diff: content/shell/renderer/ipc_echo.h

Issue 477343002: Revert "Add IPC benchmarking API to Blink TestRunner" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « content/shell/common/shell_messages.h ('k') | content/shell/renderer/ipc_echo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/ipc_echo.h
diff --git a/content/shell/renderer/ipc_echo.h b/content/shell/renderer/ipc_echo.h
deleted file mode 100644
index 4e2884a37dde9042b89e8265a3c425acf3286378..0000000000000000000000000000000000000000
--- a/content/shell/renderer/ipc_echo.h
+++ /dev/null
@@ -1,46 +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 CONTENT_SHELL_IPC_ECHO_H_
-#define CONTENT_SHELL_IPC_ECHO_H_
-
-#include <utility>
-#include <vector>
-#include "base/compiler_specific.h"
-#include "third_party/WebKit/public/web/WebDocument.h"
-
-namespace IPC {
-class Sender;
-}
-
-namespace content {
-
-// This class is for writing micro benchmarks exercising underlying
-// IPC::Channel using HTML and JavaScript.
-//
-// TODO(morrita): The benchmark effort tries to makesure that
-// IPC::ChannelMojo is as performant as native IPC::Channel
-// implementations. Currently IPC::ChannelMojo is hidden behind
-// "--enable-renderer-mojo-channel". Once it is turned on by default.
-// we no longer need this class and should remove it.
-class IPCEcho {
- public:
- IPCEcho(blink::WebDocument document, IPC::Sender* sender, int routing_id);
-
- void RequestEcho(int id, int size);
- void DidRespondEcho(int id, int size);
-
- int last_echo_id() const { return last_echo_id_; }
- int last_echo_size() const { return last_echo_size_; }
-
- blink::WebDocument document_;
- IPC::Sender* sender_;
- int routing_id_;
- int last_echo_id_;
- int last_echo_size_;
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_IPC_ECHO_DISPATCHER_H_
« no previous file with comments | « content/shell/common/shell_messages.h ('k') | content/shell/renderer/ipc_echo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698