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

Unified Diff: ios/chrome/browser/updatable_config/updatable_config_base.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
Index: ios/chrome/browser/updatable_config/updatable_config_base.mm
diff --git a/ios/chrome/browser/updatable_config/updatable_config_base.mm b/ios/chrome/browser/updatable_config/updatable_config_base.mm
index f6c4cfd580c00cee2b60ca035dd170e222570555..3c0b80929300b8a3958f0e4fd796efdd3c43c7d8 100644
--- a/ios/chrome/browser/updatable_config/updatable_config_base.mm
+++ b/ios/chrome/browser/updatable_config/updatable_config_base.mm
@@ -6,11 +6,12 @@
#include <stdint.h>
+#include <memory>
+
#include "base/logging.h"
#import "base/mac/bind_objc_block.h"
#include "base/mac/scoped_nsobject.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#import "ios/public/provider/chrome/browser/chrome_browser_provider.h"
#import "ios/public/provider/chrome/browser/updatable_resource_provider.h"
#include "ios/web/public/web_thread.h"
@@ -97,14 +98,14 @@ class ConfigFetcher : public net::URLFetcherDelegate {
private:
UpdatableConfigBase* owner_;
id<UpdatableResourceDescriptorBridge> descriptor_;
- scoped_ptr<net::URLFetcher> fetcher_;
+ std::unique_ptr<net::URLFetcher> fetcher_;
};
} // namespace
@implementation UpdatableConfigBase {
base::scoped_nsprotocol<id<UpdatableResourceBridge>> _updatableResource;
- scoped_ptr<ConfigFetcher> _configFetcher;
+ std::unique_ptr<ConfigFetcher> _configFetcher;
scoped_refptr<net::URLRequestContextGetter> _requestContextGetter;
}
« no previous file with comments | « ios/chrome/browser/undo/bookmark_undo_service_factory.cc ('k') | ios/chrome/browser/web_data_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698