| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_SHARED_WORKER_REPOSITORY_H_ | 5 #ifndef CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_ |
| 6 #define CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_ | 6 #define CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "content/public/renderer/render_frame_observer.h" | 11 #include "content/public/renderer/render_frame_observer.h" |
| 12 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" | 12 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
| 13 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" | 13 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" |
| 14 #include "third_party/WebKit/public/web/WebSharedWorkerRepositoryClient.h" | 14 #include "third_party/WebKit/public/web/WebSharedWorkerRepositoryClient.h" |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 class RenderFrameImpl; | 18 class RenderFrameImpl; |
| 19 | 19 |
| 20 class SharedWorkerRepository : public RenderFrameObserver, | 20 class SharedWorkerRepository : public RenderFrameObserver, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 std::set<DocumentID> documents_with_workers_; | 38 std::set<DocumentID> documents_with_workers_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(SharedWorkerRepository); | 40 DISALLOW_COPY_AND_ASSIGN(SharedWorkerRepository); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace content | 43 } // namespace content |
| 44 | 44 |
| 45 #endif // CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_ | 45 #endif // CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_ |
| OLD | NEW |