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

Side by Side Diff: content/child/shared_worker_devtools_agent.h

Issue 213423008: Add pause_on_start flag to WorkerProcessMsg_CreateWorker_Params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated yurys's comment Created 6 years, 8 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_CHILD_SHARED_WORKER_DEVTOOLS_AGENT_H_ 5 #ifndef CONTENT_CHILD_SHARED_WORKER_DEVTOOLS_AGENT_H_
6 #define CONTENT_CHILD_SHARED_WORKER_DEVTOOLS_AGENT_H_ 6 #define CONTENT_CHILD_SHARED_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 17 matching lines...) Expand all
28 // Called on the Worker thread. 28 // Called on the Worker thread.
29 bool OnMessageReceived(const IPC::Message& message); 29 bool OnMessageReceived(const IPC::Message& message);
30 void SendDevToolsMessage(const blink::WebString&); 30 void SendDevToolsMessage(const blink::WebString&);
31 void SaveDevToolsAgentState(const blink::WebString& state); 31 void SaveDevToolsAgentState(const blink::WebString& state);
32 32
33 private: 33 private:
34 void OnAttach(); 34 void OnAttach();
35 void OnReattach(const std::string&); 35 void OnReattach(const std::string&);
36 void OnDetach(); 36 void OnDetach();
37 void OnDispatchOnInspectorBackend(const std::string& message); 37 void OnDispatchOnInspectorBackend(const std::string& message);
38 void OnPauseWorkerContextOnStart();
39 void OnResumeWorkerContext(); 38 void OnResumeWorkerContext();
40 39
41 bool Send(IPC::Message* message); 40 bool Send(IPC::Message* message);
42 const int route_id_; 41 const int route_id_;
43 blink::WebSharedWorker* webworker_; 42 blink::WebSharedWorker* webworker_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(SharedWorkerDevToolsAgent); 44 DISALLOW_COPY_AND_ASSIGN(SharedWorkerDevToolsAgent);
46 }; 45 };
47 46
48 } // namespace content 47 } // namespace content
49 48
50 #endif // CONTENT_CHILD_SHARED_WORKER_DEVTOOLS_AGENT_H_ 49 #endif // CONTENT_CHILD_SHARED_WORKER_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_service_impl.cc ('k') | content/child/shared_worker_devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698