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_SHELL_RENDERER_TEST_RUNNER_WEB_TASK_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TASK_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TASK_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TASK_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class WebTaskList; | 14 class WebTaskList; |
15 | 15 |
16 // WebTask represents a task which can run by WebTestDelegate::postTask() or | 16 // WebTask represents a task which can run by WebTestDelegate::postTask() or |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 } | 67 } |
68 | 68 |
69 virtual void RunIfValid() = 0; | 69 virtual void RunIfValid() = 0; |
70 | 70 |
71 protected: | 71 protected: |
72 T* object_; | 72 T* object_; |
73 }; | 73 }; |
74 | 74 |
75 } // namespace content | 75 } // namespace content |
76 | 76 |
77 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TASK_H_ | 77 #endif // COMPONENTS_TEST_RUNNER_WEB_TASK_H_ |
OLD | NEW |