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

Side by Side Diff: content/browser/devtools/worker_devtools_manager.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: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_MANAGER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_MANAGER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 27 matching lines...) Expand all
38 void SaveAgentRuntimeState(int worker_process_id, 38 void SaveAgentRuntimeState(int worker_process_id,
39 int worker_route_id, 39 int worker_route_id,
40 const std::string& state); 40 const std::string& state);
41 41
42 // Called on the IO thread. 42 // Called on the IO thread.
43 void WorkerCreated( 43 void WorkerCreated(
44 WorkerProcessHost* process, 44 WorkerProcessHost* process,
45 const WorkerProcessHost::WorkerInstance& instance); 45 const WorkerProcessHost::WorkerInstance& instance);
46 void WorkerDestroyed(WorkerProcessHost* process, int worker_route_id); 46 void WorkerDestroyed(WorkerProcessHost* process, int worker_route_id);
47 void WorkerContextStarted(WorkerProcessHost* process, int worker_route_id); 47 void WorkerContextStarted(WorkerProcessHost* process, int worker_route_id);
48 bool TerminatedWorkerExist(
49 const WorkerProcessHost::WorkerInstance& instance) const;
48 50
49 private: 51 private:
50 friend struct DefaultSingletonTraits<WorkerDevToolsManager>; 52 friend struct DefaultSingletonTraits<WorkerDevToolsManager>;
51 class DetachedClientHosts; 53 class DetachedClientHosts;
52 struct InspectedWorker; 54 struct InspectedWorker;
53 typedef std::list<InspectedWorker> InspectedWorkersList; 55 typedef std::list<InspectedWorker> InspectedWorkersList;
54 56
55 WorkerDevToolsManager(); 57 WorkerDevToolsManager();
56 virtual ~WorkerDevToolsManager(); 58 virtual ~WorkerDevToolsManager();
57 59
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // worker. 102 // worker.
101 // - Existing DevTools client was reattached to the new worker. 103 // - Existing DevTools client was reattached to the new worker.
102 PausedWorkers paused_workers_; 104 PausedWorkers paused_workers_;
103 105
104 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsManager); 106 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsManager);
105 }; 107 };
106 108
107 } // namespace content 109 } // namespace content
108 110
109 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_MANAGER_H_ 111 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698