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_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ | 5 #ifndef CONTENT_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ |
6 #define CONTENT_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ | 6 #define CONTENT_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "content/public/browser/web_contents_observer.h" | 14 #include "content/public/browser/web_contents_observer.h" |
14 #include "content/public/test/test_utils.h" | 15 #include "content/public/test/test_utils.h" |
15 | 16 |
16 class GURL; | 17 class GURL; |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 class FrameTreeNode; | 20 class FrameTreeNode; |
20 class RenderFrameHostImpl; | 21 class RenderFrameHostImpl; |
21 class WebContents; | 22 class WebContents; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 64 |
64 // The MessageLoopRunner used to spin the message loop. | 65 // The MessageLoopRunner used to spin the message loop. |
65 scoped_refptr<MessageLoopRunner> message_loop_runner_; | 66 scoped_refptr<MessageLoopRunner> message_loop_runner_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(TestFrameNavigationObserver); | 68 DISALLOW_COPY_AND_ASSIGN(TestFrameNavigationObserver); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace content | 71 } // namespace content |
71 | 72 |
72 #endif // CONTENT_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ | 73 #endif // CONTENT_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ |
OLD | NEW |