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

Unified Diff: chrome/browser/chromeos/profiles/profile_list_chromeos.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/profiles/profile_list_chromeos.h
diff --git a/chrome/browser/chromeos/profiles/profile_list_chromeos.h b/chrome/browser/chromeos/profiles/profile_list_chromeos.h
index b17ef52cdfc7f6cc8046351359dcbbccae765ee3..cdb016cfc332d5bf9271d99cd18401c23f7c223a 100644
--- a/chrome/browser/chromeos/profiles/profile_list_chromeos.h
+++ b/chrome/browser/chromeos/profiles/profile_list_chromeos.h
@@ -5,14 +5,13 @@
#ifndef CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_LIST_CHROMEOS_H_
#define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_LIST_CHROMEOS_H_
-#include "chrome/browser/profiles/profile_list.h"
-
#include <stddef.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/profiles/profile_list.h"
class ProfileAttributesStorage;
@@ -40,7 +39,7 @@ class ProfileListChromeOS : public ProfileList {
base::FilePath active_profile_path_;
// List of built "menu items."
- std::vector<scoped_ptr<AvatarMenu::Item>> items_;
+ std::vector<std::unique_ptr<AvatarMenu::Item>> items_;
DISALLOW_COPY_AND_ASSIGN(ProfileListChromeOS);
};
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_helper.h ('k') | chrome/browser/chromeos/profiles/profile_list_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698