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 COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_ | 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_ |
6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_ | 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "content/public/browser/browser_plugin_guest_manager.h" | 17 #include "content/public/browser/browser_plugin_guest_manager.h" |
17 #include "content/public/browser/site_instance.h" | 18 #include "content/public/browser/site_instance.h" |
18 #include "content/public/browser/web_contents.h" | 19 #include "content/public/browser/web_contents.h" |
19 | 20 |
20 class GURL; | 21 class GURL; |
21 | 22 |
22 namespace content { | 23 namespace content { |
23 class BrowserContext; | 24 class BrowserContext; |
24 class WebContents; | 25 class WebContents; |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // call into this GuestViewManager after it has been destroyed. | 270 // call into this GuestViewManager after it has been destroyed. |
270 base::WeakPtrFactory<GuestViewManager> weak_ptr_factory_; | 271 base::WeakPtrFactory<GuestViewManager> weak_ptr_factory_; |
271 | 272 |
272 private: | 273 private: |
273 DISALLOW_COPY_AND_ASSIGN(GuestViewManager); | 274 DISALLOW_COPY_AND_ASSIGN(GuestViewManager); |
274 }; | 275 }; |
275 | 276 |
276 } // namespace guest_view | 277 } // namespace guest_view |
277 | 278 |
278 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_ | 279 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_ |
OLD | NEW |