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

Unified Diff: ios/public/provider/chrome/browser/chrome_browser_provider.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add header 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: ios/public/provider/chrome/browser/chrome_browser_provider.h
diff --git a/ios/public/provider/chrome/browser/chrome_browser_provider.h b/ios/public/provider/chrome/browser/chrome_browser_provider.h
index 69daac13b38ae0dd5c307fa61e7d639c64713dfe..6ad7a03c612c918a23966e3dd342920528328766 100644
--- a/ios/public/provider/chrome/browser/chrome_browser_provider.h
+++ b/ios/public/provider/chrome/browser/chrome_browser_provider.h
@@ -7,12 +7,13 @@
#include <CoreGraphics/CoreGraphics.h>
#include <stddef.h>
+
+#include <memory>
#include <string>
#include <vector>
#include "base/callback_forward.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "components/favicon_base/favicon_callback.h"
class AutocompleteProvider;
@@ -118,7 +119,7 @@ class ChromeBrowserProvider {
virtual void OnMetricsServicesManagerClientDestroyed();
// Returns the SyncedWindowDelegatesGetter implementation.
- virtual scoped_ptr<browser_sync::SyncedWindowDelegatesGetter>
+ virtual std::unique_ptr<browser_sync::SyncedWindowDelegatesGetter>
CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state);
// Gets the URLRequestContextGetter used by the SafeBrowsing service. Returns

Powered by Google App Engine
This is Rietveld 408576698