OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
11 #include "chrome/common/extensions/user_script.h" | |
12 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "extensions/common/user_script.h" |
14 | 14 |
15 class RenderView; | 15 class RenderView; |
16 struct ExtensionMsg_ExecuteCode_Params; | 16 struct ExtensionMsg_ExecuteCode_Params; |
17 | 17 |
18 namespace WebKit { | 18 namespace WebKit { |
19 class WebFrame; | 19 class WebFrame; |
20 } | 20 } |
21 | 21 |
22 namespace extensions { | 22 namespace extensions { |
23 class Dispatcher; | 23 class Dispatcher; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 // This is only used if we're for the main frame. | 87 // This is only used if we're for the main frame. |
88 std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_; | 88 std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_; |
89 | 89 |
90 Dispatcher* dispatcher_; | 90 Dispatcher* dispatcher_; |
91 }; | 91 }; |
92 | 92 |
93 } // namespace extensions | 93 } // namespace extensions |
94 | 94 |
95 #endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ | 95 #endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ |
OLD | NEW |