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

Side by Side Diff: chrome/browser/extensions/extensions_service.h

Issue 437078: Report active extensions in crash reports (windows only). (Closed)
Patch Set: Rework Created 11 years 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 void LoadInstalledExtension( 246 void LoadInstalledExtension(
247 DictionaryValue* manifest, const std::string& id, 247 DictionaryValue* manifest, const std::string& id,
248 const FilePath& path, Extension::Location location); 248 const FilePath& path, Extension::Location location);
249 249
250 // Handles sending notification that |extension| was loaded. 250 // Handles sending notification that |extension| was loaded.
251 void NotifyExtensionLoaded(Extension* extension); 251 void NotifyExtensionLoaded(Extension* extension);
252 252
253 // Handles sending notification that |extension| was unloaded. 253 // Handles sending notification that |extension| was unloaded.
254 void NotifyExtensionUnloaded(Extension* extension); 254 void NotifyExtensionUnloaded(Extension* extension);
255 255
256 // Helper that updates the active extension list used for crash reporting.
257 void UpdateActiveExtensionsInCrashReporter();
258
256 // The profile this ExtensionsService is part of. 259 // The profile this ExtensionsService is part of.
257 Profile* profile_; 260 Profile* profile_;
258 261
259 // Preferences for the owning profile. 262 // Preferences for the owning profile.
260 scoped_ptr<ExtensionPrefs> extension_prefs_; 263 scoped_ptr<ExtensionPrefs> extension_prefs_;
261 264
262 // The current list of installed extensions. 265 // The current list of installed extensions.
263 ExtensionList extensions_; 266 ExtensionList extensions_;
264 267
265 // The list of installed extensions that have been disabled. 268 // The list of installed extensions that have been disabled.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 388
386 // A map of all external extension providers. 389 // A map of all external extension providers.
387 typedef std::map<Extension::Location, 390 typedef std::map<Extension::Location,
388 linked_ptr<ExternalExtensionProvider> > ProviderMap; 391 linked_ptr<ExternalExtensionProvider> > ProviderMap;
389 ProviderMap external_extension_providers_; 392 ProviderMap external_extension_providers_;
390 393
391 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); 394 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend);
392 }; 395 };
393 396
394 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ 397 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698