Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: extensions/renderer/user_script_set_manager.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/renderer/user_script_set.h ('k') | gin/modules/module_registry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MANAGER_H_ 5 #ifndef EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
6 #define EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_ 6 #define EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 UserScriptSet static_scripts_; 98 UserScriptSet static_scripts_;
99 99
100 // Scripts programmatically-defined through API calls (initialized and stored 100 // Scripts programmatically-defined through API calls (initialized and stored
101 // per-extension). 101 // per-extension).
102 UserScriptSetMap programmatic_scripts_; 102 UserScriptSetMap programmatic_scripts_;
103 103
104 // The set of all known extensions. Owned by the Dispatcher. 104 // The set of all known extensions. Owned by the Dispatcher.
105 const ExtensionSet* extensions_; 105 const ExtensionSet* extensions_;
106 106
107 // The associated observers. 107 // The associated observers.
108 ObserverList<Observer> observers_; 108 base::ObserverList<Observer> observers_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(UserScriptSetManager); 110 DISALLOW_COPY_AND_ASSIGN(UserScriptSetManager);
111 }; 111 };
112 112
113 } // namespace extensions 113 } // namespace extensions
114 114
115 #endif // EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_ 115 #endif // EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/user_script_set.h ('k') | gin/modules/module_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698