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

Unified Diff: chrome/app/mash/mash_runner.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/app/mash/mash_runner.h
diff --git a/chrome/app/mash/mash_runner.h b/chrome/app/mash/mash_runner.h
index db20df794dd2e51cb18982b8773e9e9ac75632a7..65b6eabf83a5988f0da84b34ef811c4277724693 100644
--- a/chrome/app/mash/mash_runner.h
+++ b/chrome/app/mash/mash_runner.h
@@ -5,8 +5,9 @@
#ifndef CHROME_APP_MASH_MASH_RUNNER_H_
#define CHROME_APP_MASH_MASH_RUNNER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "services/shell/public/interfaces/shell_client.mojom.h"
namespace shell {
@@ -28,8 +29,8 @@ class MashRunner {
void StartChildApp(shell::mojom::ShellClientRequest client_request);
- scoped_ptr<shell::ShellClient> shell_client_;
- scoped_ptr<shell::ShellConnection> shell_connection_;
+ std::unique_ptr<shell::ShellClient> shell_client_;
+ std::unique_ptr<shell::ShellConnection> shell_connection_;
DISALLOW_COPY_AND_ASSIGN(MashRunner);
};

Powered by Google App Engine
This is Rietveld 408576698