| 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 EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ | 5 #ifndef EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ |
| 6 #define EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ | 6 #define EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 UserScriptSetManager* user_script_set_manager_; | 113 UserScriptSetManager* user_script_set_manager_; |
| 114 | 114 |
| 115 // Pending injections which are waiting for either the proper run location or | 115 // Pending injections which are waiting for either the proper run location or |
| 116 // user consent. | 116 // user consent. |
| 117 ScriptInjectionVector pending_injections_; | 117 ScriptInjectionVector pending_injections_; |
| 118 | 118 |
| 119 // Running injections which are waiting for async callbacks from blink. | 119 // Running injections which are waiting for async callbacks from blink. |
| 120 ScriptInjectionVector running_injections_; | 120 ScriptInjectionVector running_injections_; |
| 121 | 121 |
| 122 // Whether or not dom activity should be logged for scripts injected. | 122 // Whether or not dom activity should be logged for scripts injected. |
| 123 bool activity_logging_enabled_; | 123 bool activity_logging_enabled_ = false; |
| 124 | 124 |
| 125 ScopedObserver<UserScriptSetManager, UserScriptSetManager::Observer> | 125 ScopedObserver<UserScriptSetManager, UserScriptSetManager::Observer> |
| 126 user_script_set_manager_observer_; | 126 user_script_set_manager_observer_; |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(ScriptInjectionManager); | 128 DISALLOW_COPY_AND_ASSIGN(ScriptInjectionManager); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace extensions | 131 } // namespace extensions |
| 132 | 132 |
| 133 #endif // EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ | 133 #endif // EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ |
| OLD | NEW |