OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_RENDERER_WEBWORKER_BASE_H_ | 5 #ifndef CONTENT_RENDERER_WEBWORKER_BASE_H_ |
6 #define CHROME_RENDERER_WEBWORKER_BASE_H_ | 6 #define CONTENT_RENDERER_WEBWORKER_BASE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "ipc/ipc_channel.h" | 12 #include "ipc/ipc_channel.h" |
13 | 13 |
14 class ChildThread; | 14 class ChildThread; |
15 class GURL; | 15 class GURL; |
16 | 16 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // document is detached). | 89 // document is detached). |
90 unsigned long long document_id_; | 90 unsigned long long document_id_; |
91 | 91 |
92 // ID of our parent's appcache host, only valid for dedicated workers. | 92 // ID of our parent's appcache host, only valid for dedicated workers. |
93 int parent_appcache_host_id_; | 93 int parent_appcache_host_id_; |
94 | 94 |
95 // Stores messages that were sent before the StartWorkerContext message. | 95 // Stores messages that were sent before the StartWorkerContext message. |
96 std::vector<IPC::Message*> queued_messages_; | 96 std::vector<IPC::Message*> queued_messages_; |
97 }; | 97 }; |
98 | 98 |
99 #endif // CHROME_RENDERER_WEBWORKER_BASE_H_ | 99 #endif // CONTENT_RENDERER_WEBWORKER_BASE_H_ |
OLD | NEW |