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

Unified Diff: content/browser/devtools/protocol/tethering_handler.h

Issue 658163003: [DevTools] Added browser protocol to handler generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@singleUse
Patch Set: Created 6 years, 2 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: content/browser/devtools/protocol/tethering_handler.h
diff --git a/content/browser/devtools/protocol/worker_handler.h b/content/browser/devtools/protocol/tethering_handler.h
similarity index 54%
copy from content/browser/devtools/protocol/worker_handler.h
copy to content/browser/devtools/protocol/tethering_handler.h
index 1c1faafed2b5e8356c1ab7477e6092893effcbc3..a0453b2356d00c9929e8eb86587edfda5b13b7ee 100644
--- a/content/browser/devtools/protocol/worker_handler.h
+++ b/content/browser/devtools/protocol/tethering_handler.h
@@ -2,34 +2,35 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_WORKER_HANDLER_H_
-#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_WORKER_HANDLER_H_
+#ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TETHERING_HANDLER_H_
+#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TETHERING_HANDLER_H_
#include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h"
namespace content {
namespace devtools {
-namespace worker {
+namespace tethering {
-class WorkerHandler {
+class TetheringHandler {
public:
typedef DevToolsProtocolClient::Response Response;
- WorkerHandler();
- virtual ~WorkerHandler();
+ TetheringHandler();
+ virtual ~TetheringHandler();
void SetClient(scoped_ptr<Client> client);
- Response DisconnectFromWorker(int worker_id);
+ Response Bind(int port);
+ Response Unbind(int port);
private:
scoped_ptr<Client> client_;
- DISALLOW_COPY_AND_ASSIGN(WorkerHandler);
+ DISALLOW_COPY_AND_ASSIGN(TetheringHandler);
};
-} // namespace worker
+} // namespace tethering
} // namespace devtools
} // namespace content
-#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_WORKER_HANDLER_H_
+#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TETHERING_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698