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

Unified Diff: chrome/browser/autofill/validation_rules_storage_factory.h

Issue 1857663002: chrome/browser/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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 | « chrome/browser/autofill/risk_util.cc ('k') | chrome/browser/autofill/validation_rules_storage_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/validation_rules_storage_factory.h
diff --git a/chrome/browser/autofill/validation_rules_storage_factory.h b/chrome/browser/autofill/validation_rules_storage_factory.h
index 0c2e50319a0fc0df3e3774a194d75870c9a479f5..f5f077e4fa9e1f047acd886c26bd7b8f43cfeadb 100644
--- a/chrome/browser/autofill/validation_rules_storage_factory.h
+++ b/chrome/browser/autofill/validation_rules_storage_factory.h
@@ -5,10 +5,11 @@
#ifndef CHROME_BROWSER_AUTOFILL_VALIDATION_RULES_STORAGE_FACTORY_H_
#define CHROME_BROWSER_AUTOFILL_VALIDATION_RULES_STORAGE_FACTORY_H_
+#include <memory>
+
#include "base/lazy_instance.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
namespace i18n {
namespace addressinput {
@@ -24,7 +25,7 @@ namespace autofill {
// Creates Storage objects, all of which are backed by a common pref store.
class ValidationRulesStorageFactory {
public:
- static scoped_ptr< ::i18n::addressinput::Storage> CreateStorage();
+ static std::unique_ptr<::i18n::addressinput::Storage> CreateStorage();
private:
friend struct base::DefaultLazyInstanceTraits<ValidationRulesStorageFactory>;
« no previous file with comments | « chrome/browser/autofill/risk_util.cc ('k') | chrome/browser/autofill/validation_rules_storage_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698