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

Unified Diff: ash/keyboard/keyboard_ui.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/host/transformer_helper.cc ('k') | ash/keyboard/keyboard_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/keyboard/keyboard_ui.h
diff --git a/ash/keyboard/keyboard_ui.h b/ash/keyboard/keyboard_ui.h
index 718ccc95cd083cd1a9336fa751ea441553cc4e4e..71a28cb3d1f2a254f3f82b06b01c9a45fb141a86 100644
--- a/ash/keyboard/keyboard_ui.h
+++ b/ash/keyboard/keyboard_ui.h
@@ -5,9 +5,10 @@
#ifndef ASH_KEYBOARD_KEYBOARD_UI_H_
#define ASH_KEYBOARD_KEYBOARD_UI_H_
+#include <memory>
+
#include "ash/ash_export.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
namespace ash {
@@ -20,7 +21,7 @@ class ASH_EXPORT KeyboardUI {
public:
virtual ~KeyboardUI();
- static scoped_ptr<KeyboardUI> Create();
+ static std::unique_ptr<KeyboardUI> Create();
virtual void Show() = 0;
virtual void Hide() = 0;
« no previous file with comments | « ash/host/transformer_helper.cc ('k') | ash/keyboard/keyboard_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698