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

Side by Side Diff: Source/core/inspector/InspectorWorkerAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 class InspectorFrontend; 39 class InspectorFrontend;
40 class InstrumentingAgents; 40 class InstrumentingAgents;
41 class JSONObject; 41 class JSONObject;
42 class KURL; 42 class KURL;
43 class WorkerGlobalScopeProxy; 43 class WorkerGlobalScopeProxy;
44 44
45 typedef String ErrorString; 45 typedef String ErrorString;
46 46
47 class InspectorWorkerAgent FINAL : public InspectorBaseAgent<InspectorWorkerAgen t>, public InspectorBackendDispatcher::WorkerCommandHandler { 47 class InspectorWorkerAgent FINAL : public InspectorBaseAgent<InspectorWorkerAgen t>, public InspectorBackendDispatcher::WorkerCommandHandler {
48 public: 48 public:
49 static PassOwnPtr<InspectorWorkerAgent> create(); 49 static PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> create();
50 virtual ~InspectorWorkerAgent(); 50 virtual ~InspectorWorkerAgent();
51 51
52 virtual void init() OVERRIDE; 52 virtual void init() OVERRIDE;
53 virtual void setFrontend(InspectorFrontend*) OVERRIDE; 53 virtual void setFrontend(InspectorFrontend*) OVERRIDE;
54 virtual void restore() OVERRIDE; 54 virtual void restore() OVERRIDE;
55 virtual void clearFrontend() OVERRIDE; 55 virtual void clearFrontend() OVERRIDE;
56 56
57 // Called from InspectorInstrumentation 57 // Called from InspectorInstrumentation
58 bool shouldPauseDedicatedWorkerOnStart(); 58 bool shouldPauseDedicatedWorkerOnStart();
59 void didStartWorkerGlobalScope(WorkerGlobalScopeProxy*, const KURL&); 59 void didStartWorkerGlobalScope(WorkerGlobalScopeProxy*, const KURL&);
(...skipping 19 matching lines...) Expand all
79 class WorkerFrontendChannel; 79 class WorkerFrontendChannel;
80 typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels; 80 typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels;
81 WorkerChannels m_idToChannel; 81 WorkerChannels m_idToChannel;
82 typedef HashMap<WorkerGlobalScopeProxy*, String> DedicatedWorkers; 82 typedef HashMap<WorkerGlobalScopeProxy*, String> DedicatedWorkers;
83 DedicatedWorkers m_dedicatedWorkers; 83 DedicatedWorkers m_dedicatedWorkers;
84 }; 84 };
85 85
86 } // namespace blink 86 } // namespace blink
87 87
88 #endif // !defined(InspectorWorkerAgent_h) 88 #endif // !defined(InspectorWorkerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorTracingAgent.h ('k') | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698