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

Side by Side Diff: content/renderer/service_worker/embedded_worker_devtools_agent.h

Issue 2858043003: [DevTools] Pass session id in detach request (Closed)
Patch Set: test compile Created 3 years, 7 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
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 #ifndef CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 23 matching lines...) Expand all
34 const std::string& message, 34 const std::string& message,
35 const std::string& state_cookie); 35 const std::string& state_cookie);
36 36
37 bool OnMessageReceived(const IPC::Message& message) override; 37 bool OnMessageReceived(const IPC::Message& message) override;
38 38
39 private: 39 private:
40 void OnAttach(const std::string& host_id, int session_id); 40 void OnAttach(const std::string& host_id, int session_id);
41 void OnReattach(const std::string& host_id, 41 void OnReattach(const std::string& host_id,
42 int session_id, 42 int session_id,
43 const std::string& state); 43 const std::string& state);
44 void OnDetach(); 44 void OnDetach(int session_id);
45 void OnDispatchOnInspectorBackend(int session_id, 45 void OnDispatchOnInspectorBackend(int session_id,
46 int call_id, 46 int call_id,
47 const std::string& method, 47 const std::string& method,
48 const std::string& message); 48 const std::string& message);
49 49
50 blink::WebEmbeddedWorker* webworker_; 50 blink::WebEmbeddedWorker* webworker_;
51 int route_id_; 51 int route_id_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsAgent); 53 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsAgent);
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ 58 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/service_worker/embedded_worker_devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698