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

Side by Side Diff: content/worker/websharedworker_stub.h

Issue 171943002: Don't terminate SharedWorker while loading the script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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_WORKER_WEBSHAREDWORKER_STUB_H_ 5 #ifndef CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_
6 #define CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ 6 #define CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/child/scoped_child_process_reference.h" 9 #include "content/child/scoped_child_process_reference.h"
10 #include "content/worker/websharedworkerclient_proxy.h" 10 #include "content/worker/websharedworkerclient_proxy.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ScopedChildProcessReference process_ref_; 62 ScopedChildProcessReference process_ref_;
63 63
64 int route_id_; 64 int route_id_;
65 65
66 // WebSharedWorkerClient that responds to outgoing API calls 66 // WebSharedWorkerClient that responds to outgoing API calls
67 // from the worker object. 67 // from the worker object.
68 WebSharedWorkerClientProxy client_; 68 WebSharedWorkerClientProxy client_;
69 69
70 blink::WebSharedWorker* impl_; 70 blink::WebSharedWorker* impl_;
71 bool running_; 71 bool running_;
72 bool terminating_;
72 GURL url_; 73 GURL url_;
73 scoped_ptr<SharedWorkerDevToolsAgent> worker_devtools_agent_; 74 scoped_ptr<SharedWorkerDevToolsAgent> worker_devtools_agent_;
74 75
75 typedef std::vector<WebMessagePortChannelImpl*> PendingChannelList; 76 typedef std::vector<WebMessagePortChannelImpl*> PendingChannelList;
76 PendingChannelList pending_channels_; 77 PendingChannelList pending_channels_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerStub); 79 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerStub);
79 }; 80 };
80 81
81 } // namespace content 82 } // namespace content
82 83
83 #endif // CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ 84 #endif // CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_
OLDNEW
« no previous file with comments | « no previous file | content/worker/websharedworker_stub.cc » ('j') | content/worker/websharedworker_stub.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698