| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/devtools/protocol/worker_handler.h" | 5 #include "content/browser/devtools/protocol/worker_handler.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 namespace devtools { | 8 namespace devtools { |
| 9 namespace worker { | 9 namespace worker { |
| 10 | 10 |
| 11 typedef DevToolsProtocolClient::Response Response; | 11 typedef DevToolsProtocolClient::Response Response; |
| 12 | 12 |
| 13 WorkerHandler::WorkerHandler() { | 13 WorkerHandler::WorkerHandler() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 WorkerHandler::~WorkerHandler() { | 16 WorkerHandler::~WorkerHandler() { |
| 17 } | 17 } |
| 18 | 18 |
| 19 void WorkerHandler::SetClient(scoped_ptr<Client> client) { | 19 void WorkerHandler::SetClient(scoped_ptr<Client> client) { |
| 20 client_.swap(client); | 20 client_.swap(client); |
| 21 } | 21 } |
| 22 | 22 |
| 23 Response WorkerHandler::DisconnectFromWorker(int worker_id) { | 23 Response WorkerHandler::DisconnectFromWorker(int worker_id) { |
| 24 return Response::FallThrough(); | 24 return Response::FallThrough(); |
| 25 } | 25 } |
| 26 | 26 |
| 27 Response WorkerHandler::DisconnectFromWorker(const std::string& worker_id) { |
| 28 return Response::FallThrough(); |
| 29 } |
| 30 |
| 27 } // namespace worker | 31 } // namespace worker |
| 28 } // namespace devtools | 32 } // namespace devtools |
| 29 } // namespace content | 33 } // namespace content |
| OLD | NEW |