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_USER_SCRIPT_INJECTOR_H_ | 5 #ifndef EXTENSIONS_RENDERER_USER_SCRIPT_INJECTOR_H_ |
6 #define EXTENSIONS_RENDERER_USER_SCRIPT_INJECTOR_H_ | 6 #define EXTENSIONS_RENDERER_USER_SCRIPT_INJECTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
12 #include "extensions/common/user_script.h" | 13 #include "extensions/common/user_script.h" |
13 #include "extensions/renderer/script_injection.h" | 14 #include "extensions/renderer/script_injection.h" |
14 #include "extensions/renderer/user_script_set.h" | 15 #include "extensions/renderer/user_script_set.h" |
15 | 16 |
16 class InjectionHost; | 17 class InjectionHost; |
17 | 18 |
18 namespace blink { | 19 namespace blink { |
19 class WebLocalFrame; | 20 class WebLocalFrame; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 77 |
77 ScopedObserver<UserScriptSet, UserScriptSet::Observer> | 78 ScopedObserver<UserScriptSet, UserScriptSet::Observer> |
78 user_script_set_observer_; | 79 user_script_set_observer_; |
79 | 80 |
80 DISALLOW_COPY_AND_ASSIGN(UserScriptInjector); | 81 DISALLOW_COPY_AND_ASSIGN(UserScriptInjector); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace extensions | 84 } // namespace extensions |
84 | 85 |
85 #endif // EXTENSIONS_RENDERER_USER_SCRIPT_INJECTOR_H_ | 86 #endif // EXTENSIONS_RENDERER_USER_SCRIPT_INJECTOR_H_ |
OLD | NEW |