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

Unified Diff: chrome/browser/chromeos/extensions/users_private/users_private_delegate.h

Issue 1870793002: Convert //chrome/browser/chromeos 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: chrome/browser/chromeos/extensions/users_private/users_private_delegate.h
diff --git a/chrome/browser/chromeos/extensions/users_private/users_private_delegate.h b/chrome/browser/chromeos/extensions/users_private/users_private_delegate.h
index bb9027555bcf781b20c327ce56b96e47348c8818..f9e229184bce2da3367c2c024edcd44e8ac194ba 100644
--- a/chrome/browser/chromeos/extensions/users_private/users_private_delegate.h
+++ b/chrome/browser/chromeos/extensions/users_private/users_private_delegate.h
@@ -6,10 +6,10 @@
#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_USERS_PRIVATE_USERS_PRIVATE_DELEGATE_H_
#include <map>
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/api/settings_private/prefs_util.h"
#include "chrome/common/extensions/api/users_private.h"
#include "components/keyed_service/core/keyed_service.h"
@@ -36,7 +36,7 @@ class UsersPrivateDelegate : public KeyedService {
protected:
Profile* profile_; // weak; not owned by us
- scoped_ptr<PrefsUtil> prefs_util_;
+ std::unique_ptr<PrefsUtil> prefs_util_;
private:
DISALLOW_COPY_AND_ASSIGN(UsersPrivateDelegate);

Powered by Google App Engine
This is Rietveld 408576698