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

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

Issue 661423002: DevTools: Clean-up service/shared workers code after switching to main thread debugging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some more code 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 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/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 int route_id); 27 int route_id);
28 virtual ~EmbeddedWorkerDevToolsAgent(); 28 virtual ~EmbeddedWorkerDevToolsAgent();
29 29
30 virtual bool OnMessageReceived(const IPC::Message& message) override; 30 virtual bool OnMessageReceived(const IPC::Message& message) override;
31 31
32 private: 32 private:
33 void OnAttach(const std::string& host_id); 33 void OnAttach(const std::string& host_id);
34 void OnReattach(const std::string& host_id, const std::string& state); 34 void OnReattach(const std::string& host_id, const std::string& state);
35 void OnDetach(); 35 void OnDetach();
36 void OnDispatchOnInspectorBackend(const std::string& message); 36 void OnDispatchOnInspectorBackend(const std::string& message);
37 void OnResumeWorkerContext();
38 37
39 blink::WebEmbeddedWorker* webworker_; 38 blink::WebEmbeddedWorker* webworker_;
40 int route_id_; 39 int route_id_;
41 40
42 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsAgent); 41 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsAgent);
43 }; 42 };
44 43
45 } // namespace content 44 } // namespace content
46 45
47 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ 46 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « content/common/devtools_messages.h ('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