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

Unified Diff: chrome/browser/extensions/installed_loader.h

Issue 12211029: Sanity tweaks to the extension blacklist: check all extensions at once on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready for review Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/installed_loader.h
diff --git a/chrome/browser/extensions/installed_loader.h b/chrome/browser/extensions/installed_loader.h
index f608a203a5f087f3a74e61698f6f9ad618415ba6..ec726e477871b1ae69076d763aed236d9ed64f58 100644
--- a/chrome/browser/extensions/installed_loader.h
+++ b/chrome/browser/extensions/installed_loader.h
@@ -5,10 +5,13 @@
#ifndef CHROME_BROWSER_EXTENSIONS_INSTALLED_LOADER_H_
#define CHROME_BROWSER_EXTENSIONS_INSTALLED_LOADER_H_
+#include "base/memory/ref_counted.h"
+
class ExtensionService;
namespace extensions {
+class Extension;
class ExtensionPrefs;
struct ExtensionInfo;
@@ -19,7 +22,8 @@ class InstalledLoader {
virtual ~InstalledLoader();
// Loads extension from prefs.
- void Load(const ExtensionInfo& info, bool write_to_prefs);
+ scoped_refptr<const Extension> Load(const ExtensionInfo& info,
+ bool write_to_prefs);
// Loads all installed extensions (used by startup and testing code).
void LoadAllExtensions();

Powered by Google App Engine
This is Rietveld 408576698