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

Unified Diff: tools/telemetry/telemetry/core/network_controller.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: tools/telemetry/telemetry/core/network_controller.py
diff --git a/tools/telemetry/telemetry/core/network_controller.py b/tools/telemetry/telemetry/core/network_controller.py
deleted file mode 100644
index 3df2e92f7e304451ae09047afa971ea7d8e328b5..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/network_controller.py
+++ /dev/null
@@ -1,33 +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.
-
-
-class NetworkController(object):
- """Control network settings and servers to simulate the Web.
-
- Network changes include forwarding device ports to host platform ports.
- Web Page Replay is used to record and replay HTTP/HTTPS responses.
- """
-
- def __init__(self, network_controller_backend):
- self._network_controller_backend = network_controller_backend
-
- def SetReplayArgs(self,
- archive_path,
- wpr_mode,
- netsim,
- extra_wpr_args,
- make_javascript_deterministic=False):
- """Save the arguments needed for replay."""
- self._network_controller_backend.SetReplayArgs(
- archive_path, wpr_mode, netsim, extra_wpr_args,
- make_javascript_deterministic)
-
- def UpdateReplayForExistingBrowser(self):
- """Restart replay if needed for an existing browser.
-
- TODO(slamm): Drop this method when the browser_backend dependencies are
- moved to the platform. https://crbug.com/423962
- """
- self._network_controller_backend.UpdateReplay()
« no previous file with comments | « tools/telemetry/telemetry/core/memory_cache_http_server_unittest.py ('k') | tools/telemetry/telemetry/core/os_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698