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

Side by Side Diff: extensions/browser/user_script_loader.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/browser/script_executor.cc ('k') | extensions/browser/warning_service.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_BROWSER_USER_SCRIPT_LOADER_H_ 5 #ifndef EXTENSIONS_BROWSER_USER_SCRIPT_LOADER_H_
6 #define EXTENSIONS_BROWSER_USER_SCRIPT_LOADER_H_ 6 #define EXTENSIONS_BROWSER_USER_SCRIPT_LOADER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool is_loading_; 168 bool is_loading_;
169 169
170 // The browser_context for which the scripts managed here are installed. 170 // The browser_context for which the scripts managed here are installed.
171 content::BrowserContext* browser_context_; 171 content::BrowserContext* browser_context_;
172 172
173 // ID of the host that owns these scripts, if any. This is only set to a 173 // ID of the host that owns these scripts, if any. This is only set to a
174 // non-empty value for declarative user script shared memory regions. 174 // non-empty value for declarative user script shared memory regions.
175 HostID host_id_; 175 HostID host_id_;
176 176
177 // The associated observers. 177 // The associated observers.
178 ObserverList<Observer> observers_; 178 base::ObserverList<Observer> observers_;
179 179
180 base::WeakPtrFactory<UserScriptLoader> weak_factory_; 180 base::WeakPtrFactory<UserScriptLoader> weak_factory_;
181 181
182 DISALLOW_COPY_AND_ASSIGN(UserScriptLoader); 182 DISALLOW_COPY_AND_ASSIGN(UserScriptLoader);
183 }; 183 };
184 184
185 } // namespace extensions 185 } // namespace extensions
186 186
187 #endif // EXTENSIONS_BROWSER_USER_SCRIPT_LOADER_H_ 187 #endif // EXTENSIONS_BROWSER_USER_SCRIPT_LOADER_H_
OLDNEW
« no previous file with comments | « extensions/browser/script_executor.cc ('k') | extensions/browser/warning_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698