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

Unified Diff: ash/shell/shell_delegate_impl.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/shell/content/client/shell_main_delegate.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.h
diff --git a/ash/shell/shell_delegate_impl.h b/ash/shell/shell_delegate_impl.h
index 5e511e0cfa4c9235e14a864c0413f05423d99838..c971d80b2b57f8cf841d9d36065576d1f865aaaa 100644
--- a/ash/shell/shell_delegate_impl.h
+++ b/ash/shell/shell_delegate_impl.h
@@ -5,6 +5,7 @@
#ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
#define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
+#include <memory>
#include <string>
#include "ash/shell_delegate.h"
@@ -57,7 +58,7 @@ class ShellDelegateImpl : public ash::ShellDelegate {
private:
ShelfDelegateImpl* shelf_delegate_;
- scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_;
+ std::unique_ptr<app_list::AppListViewDelegate> app_list_view_delegate_;
DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
};
« no previous file with comments | « ash/shell/content/client/shell_main_delegate.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698