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

Side by Side Diff: extensions/browser/extension_registry.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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSION_REGISTRY_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // Extensions that are installed and blacklisted. Generally these shouldn't be 177 // Extensions that are installed and blacklisted. Generally these shouldn't be
178 // considered as installed by the extension platform: we only keep them around 178 // considered as installed by the extension platform: we only keep them around
179 // so that if extensions are blacklisted by mistake they can easily be 179 // so that if extensions are blacklisted by mistake they can easily be
180 // un-blacklisted. 180 // un-blacklisted.
181 ExtensionSet blacklisted_extensions_; 181 ExtensionSet blacklisted_extensions_;
182 182
183 // Extensions that are installed and blocked. Will never be loaded. 183 // Extensions that are installed and blocked. Will never be loaded.
184 ExtensionSet blocked_extensions_; 184 ExtensionSet blocked_extensions_;
185 185
186 ObserverList<ExtensionRegistryObserver> observers_; 186 base::ObserverList<ExtensionRegistryObserver> observers_;
187 187
188 content::BrowserContext* const browser_context_; 188 content::BrowserContext* const browser_context_;
189 189
190 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry); 190 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry);
191 }; 191 };
192 192
193 } // namespace extensions 193 } // namespace extensions
194 194
195 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ 195 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_prefs.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698