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

Unified Diff: ios/chrome/browser/installation_notifier.mm

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
« no previous file with comments | « ios/chrome/browser/infobars/infobar_utils.mm ('k') | ios/chrome/browser/installation_notifier_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/installation_notifier.mm
diff --git a/ios/chrome/browser/installation_notifier.mm b/ios/chrome/browser/installation_notifier.mm
index 8cc6f9ad50d509129a246cd4b4dcc04c6a153f3c..1ea3e3eefcdaad24bd8fbb20ab0e7ddf7c7aaf8f 100644
--- a/ios/chrome/browser/installation_notifier.mm
+++ b/ios/chrome/browser/installation_notifier.mm
@@ -4,13 +4,14 @@
#import "ios/chrome/browser/installation_notifier.h"
-#include <stdint.h>
#import <UIKit/UIKit.h>
+#include <stdint.h>
+
+#include <memory>
#include "base/ios/weak_nsobject.h"
#include "base/logging.h"
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
#include "ios/web/public/web_thread.h"
#include "net/base/backoff_entry.h"
@@ -62,7 +63,7 @@ const net::BackoffEntry::Policy kPollingBackoffPolicy = {
@end
@implementation InstallationNotifier {
- scoped_ptr<net::BackoffEntry> _backoffEntry;
+ std::unique_ptr<net::BackoffEntry> _backoffEntry;
base::scoped_nsprotocol<id<DispatcherProtocol>> _dispatcher;
// Dictionary mapping URL schemes to mutable sets of observers.
base::scoped_nsobject<NSMutableDictionary> _installedAppObservers;
« no previous file with comments | « ios/chrome/browser/infobars/infobar_utils.mm ('k') | ios/chrome/browser/installation_notifier_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698