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

Side by Side Diff: content/browser/devtools/protocol/worker_handler.cc

Issue 979793002: DevTools: prepare to migrate worker ids from ints to strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « content/browser/devtools/protocol/worker_handler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/worker_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698