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

Unified Diff: chrome/browser/metrics/extensions_metrics_provider.h

Issue 1886913002: Convert //chrome/browser/metrics 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
Index: chrome/browser/metrics/extensions_metrics_provider.h
diff --git a/chrome/browser/metrics/extensions_metrics_provider.h b/chrome/browser/metrics/extensions_metrics_provider.h
index 50ef6f2e01c2a12ed57175eddaf9f14f0136d8f5..8bdb8fb372908aef504e5c998b771a7643307a5f 100644
--- a/chrome/browser/metrics/extensions_metrics_provider.h
+++ b/chrome/browser/metrics/extensions_metrics_provider.h
@@ -7,10 +7,10 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/metrics/metrics_provider.h"
class Profile;
@@ -43,7 +43,7 @@ class ExtensionsMetricsProvider : public metrics::MetricsProvider {
// Exposed for the sake of mocking in test code.
// Retrieves the set of extensions installed in the given |profile|.
- virtual scoped_ptr<extensions::ExtensionSet> GetInstalledExtensions(
+ virtual std::unique_ptr<extensions::ExtensionSet> GetInstalledExtensions(
Profile* profile);
// Retrieves the client ID.

Powered by Google App Engine
This is Rietveld 408576698