| 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 CHROME_BROWSER_GUESTVIEW_GUESTVIEW_H_ | 5 #ifndef CHROME_BROWSER_GUESTVIEW_GUESTVIEW_H_ |
| 6 #define CHROME_BROWSER_GUESTVIEW_GUESTVIEW_H_ | 6 #define CHROME_BROWSER_GUESTVIEW_GUESTVIEW_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 std::deque<linked_ptr<Event> > pending_events_; | 141 std::deque<linked_ptr<Event> > pending_events_; |
| 142 | 142 |
| 143 // This is used to ensure pending tasks will not fire after this object is | 143 // This is used to ensure pending tasks will not fire after this object is |
| 144 // destroyed. | 144 // destroyed. |
| 145 base::WeakPtrFactory<GuestView> weak_ptr_factory_; | 145 base::WeakPtrFactory<GuestView> weak_ptr_factory_; |
| 146 | 146 |
| 147 DISALLOW_COPY_AND_ASSIGN(GuestView); | 147 DISALLOW_COPY_AND_ASSIGN(GuestView); |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 #endif // CHROME_BROWSER_GUESTVIEW_GUESTVIEW_H_ | 150 #endif // CHROME_BROWSER_GUESTVIEW_GUESTVIEW_H_ |
| OLD | NEW |