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

Unified Diff: chrome/common/net_benchmarking.mojom

Issue 2521823008: Migrate chrome_net_benchmarking_message_filter to mojo (Closed)
Patch Set: change all calls to use default sync method Created 4 years 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: chrome/common/net_benchmarking.mojom
diff --git a/chrome/common/net_benchmarking.mojom b/chrome/common/net_benchmarking.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..ec9e7e65eaf82138cb23a47ed791cca3e210e6f2
--- /dev/null
+++ b/chrome/common/net_benchmarking.mojom
@@ -0,0 +1,28 @@
+// Copyright 2016 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.
+
+module chrome.mojom;
+
+interface NetBenchmarking {
+ // Message sent from the renderer to the browser to request that the browser
sky 2016/12/13 02:02:52 I think test only functions should live in separat
dvallet 2016/12/13 05:20:04 Done. Like so?
Sam McNally 2016/12/13 22:31:46 All the messages in this interface are test-only.
+ // close all sockets. Used for debugging/testing.
+ [Sync]
+ CloseCurrentConnections() => ();
+
+ // Message sent from the renderer to the browser to request that the browser
+ // clear the cache. Used for debugging/testing.
+ // |result| is the returned status from the operation.
+ [Sync]
+ ClearCache() => (int32 result);
+
+ // Message sent from the renderer to the browser to request that the browser
+ // clear the host cache. Used for debugging/testing.
+ [Sync]
+ ClearHostResolverCache() => ();
+
+ // Message sent from the renderer to the browser to request that the browser
+ // clear the predictor cache. Used for debugging/testing.
+ [Sync]
+ ClearPredictorCache() => ();
+};

Powered by Google App Engine
This is Rietveld 408576698