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

Unified Diff: extensions/browser/extension_registry.h

Issue 1909773002: Convert //extensions/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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
« no previous file with comments | « extensions/browser/extension_protocols.cc ('k') | extensions/browser/extension_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_registry.h
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h
index 405d07261e64e1b6bdda0ab4be0baaf6e957ee1e..09c8a70ab4b5575c43b55e673ab6c41f526cb97b 100644
--- a/extensions/browser/extension_registry.h
+++ b/extensions/browser/extension_registry.h
@@ -70,7 +70,7 @@ class ExtensionRegistry : public KeyedService {
// Returns the set of all installed extensions, regardless of state (enabled,
// disabled, etc). Equivalent to GenerateInstalledExtensionSet(EVERYTHING).
- scoped_ptr<ExtensionSet> GenerateInstalledExtensionsSet() const;
+ std::unique_ptr<ExtensionSet> GenerateInstalledExtensionsSet() const;
// Returns a set of all extensions in the subsets specified by |include_mask|.
// * enabled_extensions() --> ExtensionRegistry::ENABLED
@@ -78,7 +78,7 @@ class ExtensionRegistry : public KeyedService {
// * terminated_extensions() --> ExtensionRegistry::TERMINATED
// * blacklisted_extensions() --> ExtensionRegistry::BLACKLISTED
// * blocked_extensions() --> ExtensionRegistry::BLOCKED
- scoped_ptr<ExtensionSet> GenerateInstalledExtensionsSet(
+ std::unique_ptr<ExtensionSet> GenerateInstalledExtensionsSet(
int include_mask) const;
// The usual observer interface.
« no previous file with comments | « extensions/browser/extension_protocols.cc ('k') | extensions/browser/extension_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698