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

Unified Diff: content/public/browser/mojo_app_connection.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/browser/host_zoom_map.h ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/mojo_app_connection.h
diff --git a/content/public/browser/mojo_app_connection.h b/content/public/browser/mojo_app_connection.h
index 6ac8055e82bfd6c80948d0651138f8602ca40b53..d093fdfeec016dab71b9757938e7298f2ea7150c 100644
--- a/content/public/browser/mojo_app_connection.h
+++ b/content/public/browser/mojo_app_connection.h
@@ -5,9 +5,9 @@
#ifndef CONTENT_PUBLIC_BROWSER_MOJO_APP_CONNECTION_H_
#define CONTENT_PUBLIC_BROWSER_MOJO_APP_CONNECTION_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "mojo/public/cpp/bindings/interface_ptr.h"
#include "mojo/public/cpp/bindings/interface_request.h"
@@ -31,7 +31,7 @@ class CONTENT_EXPORT MojoAppConnection {
// |requestor_name| to identify the requestor and |context|'s mojo userid to
// specify a profile specific application instantiation. This may be called
// from any thread.
- static scoped_ptr<MojoAppConnection> Create(
+ static std::unique_ptr<MojoAppConnection> Create(
const std::string& user_id,
const std::string& name,
const std::string& requestor_name);
« no previous file with comments | « content/public/browser/host_zoom_map.h ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698