Convert //components/[u-z]* from scoped_ptr to std::unique_ptr
BUG=554298
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/1917673002
Cr-Commit-Position: refs/heads/master@{#389596}
diff --git a/components/user_manager/user_manager_base.h b/components/user_manager/user_manager_base.h
index db40c8d0..520f7ff7 100644
--- a/components/user_manager/user_manager_base.h
+++ b/components/user_manager/user_manager_base.h
@@ -6,12 +6,12 @@
#define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_
#include <map>
+#include <memory>
#include <set>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/synchronization/lock.h"
@@ -328,7 +328,7 @@
// Updates user account after locale was resolved.
void DoUpdateAccountLocale(const AccountId& account_id,
- scoped_ptr<std::string> resolved_locale);
+ std::unique_ptr<std::string> resolved_locale);
// Indicates stage of loading user from prefs.
UserLoadStage user_loading_stage_ = STAGE_NOT_LOADED;