| 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_
|
|
|