| 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_SET_H_ | 5 #ifndef EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ |
| 6 #define EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ | 6 #define EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // Shared memory containing raw script data. | 87 // Shared memory containing raw script data. |
| 88 scoped_ptr<base::SharedMemory> shared_memory_; | 88 scoped_ptr<base::SharedMemory> shared_memory_; |
| 89 | 89 |
| 90 // The set of all known extensions. Owned by the Dispatcher. | 90 // The set of all known extensions. Owned by the Dispatcher. |
| 91 const ExtensionSet* extensions_; | 91 const ExtensionSet* extensions_; |
| 92 | 92 |
| 93 // The UserScripts this injector manages. | 93 // The UserScripts this injector manages. |
| 94 ScopedVector<UserScript> scripts_; | 94 ScopedVector<UserScript> scripts_; |
| 95 | 95 |
| 96 // The associated observers. | 96 // The associated observers. |
| 97 ObserverList<Observer> observers_; | 97 base::ObserverList<Observer> observers_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(UserScriptSet); | 99 DISALLOW_COPY_AND_ASSIGN(UserScriptSet); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace extensions | 102 } // namespace extensions |
| 103 | 103 |
| 104 #endif // EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ | 104 #endif // EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ |
| OLD | NEW |