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

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: rebase? 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 b8ec5ac84460596e0954656ae009ae0f60349348..60835250d32881ca97b89b5040752f45283facb3 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;
@@ -114,7 +115,7 @@ class ChromeBrowserProvider {
virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback);
// Returns the SyncedWindowDelegatesGetter implementation.
- virtual scoped_ptr<browser_sync::SyncedWindowDelegatesGetter>
+ virtual std::unique_ptr<browser_sync::SyncedWindowDelegatesGetter>
CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state);
};
« no previous file with comments | « ios/net/protocol_handler_util_unittest.mm ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698