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

Unified Diff: chrome/browser/ui/app_list/search/people/person.h

Issue 1865213004: Convert //chrome/browser/ui 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/ui/app_list/search/people/person.h
diff --git a/chrome/browser/ui/app_list/search/people/person.h b/chrome/browser/ui/app_list/search/people/person.h
index 050d752bad3bb9879bada5990dae9c139b64c4ef..1cf506829fb78b9cfb65700cac331839f6d26fda 100644
--- a/chrome/browser/ui/app_list/search/people/person.h
+++ b/chrome/browser/ui/app_list/search/people/person.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PERSON_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PERSON_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "url/gurl.h"
namespace base {
@@ -21,12 +21,12 @@ namespace app_list {
struct Person {
// Parses the dictionary from the people search result and creates a person
// object.
- static scoped_ptr<Person> Create(const base::DictionaryValue& dict);
+ static std::unique_ptr<Person> Create(const base::DictionaryValue& dict);
Person();
~Person();
- scoped_ptr<Person> Duplicate();
+ std::unique_ptr<Person> Duplicate();
// This is a unique id for this person. In the case of a result with an
// associated Google account, this will always be the same as the owner id.
« no previous file with comments | « chrome/browser/ui/app_list/search/people/people_result.cc ('k') | chrome/browser/ui/app_list/search/people/person.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698