OLD | NEW |
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_BROWSER_SHARED_WORKER_SHARED_WORKER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_HOST_H_ |
6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_HOST_H_ | 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_HOST_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
15 #include "content/browser/shared_worker/shared_worker_message_filter.h" | 16 #include "content/browser/shared_worker/shared_worker_message_filter.h" |
16 #include "content/browser/shared_worker/worker_document_set.h" | 17 #include "content/browser/shared_worker/worker_document_set.h" |
17 | 18 |
18 class GURL; | 19 class GURL; |
19 | 20 |
20 namespace IPC { | 21 namespace IPC { |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 bool closed_; | 132 bool closed_; |
132 const base::TimeTicks creation_time_; | 133 const base::TimeTicks creation_time_; |
133 | 134 |
134 base::WeakPtrFactory<SharedWorkerHost> weak_factory_; | 135 base::WeakPtrFactory<SharedWorkerHost> weak_factory_; |
135 | 136 |
136 DISALLOW_COPY_AND_ASSIGN(SharedWorkerHost); | 137 DISALLOW_COPY_AND_ASSIGN(SharedWorkerHost); |
137 }; | 138 }; |
138 } // namespace content | 139 } // namespace content |
139 | 140 |
140 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_HOST_H_ | 141 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_HOST_H_ |
OLD | NEW |