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

Unified Diff: ash/test/test_session_state_delegate.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/test/test_keyboard_ui.h ('k') | ash/test/test_shelf_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_session_state_delegate.h
diff --git a/ash/test/test_session_state_delegate.h b/ash/test/test_session_state_delegate.h
index 12f6d54bea778c99b8b61abbd5944dbea64a3605..5b11e914dd0288a0ad875f29f79d63353d2eb235 100644
--- a/ash/test/test_session_state_delegate.h
+++ b/ash/test/test_session_state_delegate.h
@@ -5,12 +5,12 @@
#ifndef ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
#define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
+#include <memory>
#include <vector>
#include "ash/session/session_state_delegate.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/image/image_skia.h"
class AccountId;
@@ -107,7 +107,7 @@ class TestSessionStateDelegate : public SessionStateDelegate {
std::vector<MockUserInfo*> user_list_;
// The user manager to be used instead of the system instance.
- scoped_ptr<TestUserManager> user_manager_;
+ std::unique_ptr<TestUserManager> user_manager_;
// The current state of the login screen. |session_state_| becomes active
// before the profile and browser UI are available.
« no previous file with comments | « ash/test/test_keyboard_ui.h ('k') | ash/test/test_shelf_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698