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

Unified Diff: chrome/browser/devtools/port_forwarding_controller.h

Issue 23490021: Rename chrome/browser/devtools/tethering_adb_filter.* to port_forwarding_controller.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/devtools/port_forwarding_controller.h
diff --git a/chrome/browser/devtools/port_forwarding_controller.h b/chrome/browser/devtools/port_forwarding_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..673eb801ddcce3da76b5ff82f509cad9ba9af0c9
--- /dev/null
+++ b/chrome/browser/devtools/port_forwarding_controller.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2013 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 CHROME_BROWSER_DEVTOOLS_PORT_FORWARDING_CONTROLLER_H_
+#define CHROME_BROWSER_DEVTOOLS_PORT_FORWARDING_CONTROLLER_H_
+
+#include <map>
+
+#include "chrome/browser/devtools/devtools_adb_bridge.h"
+
+class PrefService;
+
+class PortForwardingController {
+ public:
+ PortForwardingController(
+ scoped_refptr<DevToolsAdbBridge> bridge,
+ PrefService* pref_service);
+
+ virtual ~PortForwardingController();
pfeldman 2013/08/30 09:31:15 Does it have to be virtual?
Vladislav Kaznacheev 2013/08/30 09:43:44 Done.
+
+ void UpdateDeviceList(const DevToolsAdbBridge::RemoteDevices& devices);
+
+ private:
+ class Connection;
+ typedef std::map<std::string, Connection*> Registry;
+
+ scoped_refptr<DevToolsAdbBridge> bridge_;
+ PrefService* pref_service_;
+ Registry registry_;
pfeldman 2013/08/30 09:31:15 DISALLOW_COPY_AND_ASSIGN is missing.
Vladislav Kaznacheev 2013/08/30 09:43:44 Done.
+};
+
+#endif // CHROME_BROWSER_DEVTOOLS_PORT_FORWARDING_CONTROLLER_H_
« no previous file with comments | « chrome/browser/devtools/devtools_adb_bridge.cc ('k') | chrome/browser/devtools/port_forwarding_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698