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

Side by Side Diff: content/browser/devtools/worker_devtools_agent_host.h

Issue 2933243002: [DevTools] Make DevToolsSession own it's DevToolsMessageChunkProcessor (Closed)
Patch Set: addressed comments Created 3 years, 6 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_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/devtools/devtools_agent_host_impl.h" 9 #include "content/browser/devtools/devtools_agent_host_impl.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const WorkerId& worker_id() const { return worker_id_; } 58 const WorkerId& worker_id() const { return worker_id_; }
59 59
60 private: 60 private:
61 friend class SharedWorkerDevToolsManagerTest; 61 friend class SharedWorkerDevToolsManagerTest;
62 62
63 void AttachToWorker(); 63 void AttachToWorker();
64 void DetachFromWorker(); 64 void DetachFromWorker();
65 void WorkerCreated(); 65 void WorkerCreated();
66 void OnDispatchOnInspectorFrontend(const DevToolsMessageChunk& message); 66 void OnDispatchOnInspectorFrontend(const DevToolsMessageChunk& message);
67 67
68 DevToolsMessageChunkProcessor chunk_processor_;
69 WorkerState state_; 68 WorkerState state_;
70 WorkerId worker_id_; 69 WorkerId worker_id_;
71 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsAgentHost); 70 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsAgentHost);
72 }; 71 };
73 72
74 } // namespace content 73 } // namespace content
75 74
76 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ 75 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/render_frame_devtools_agent_host.cc ('k') | content/browser/devtools/worker_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698