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

Unified Diff: extensions/browser/api/app_runtime/app_runtime_api.h

Issue 1902873002: Convert //extensions/browser/api 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: extensions/browser/api/app_runtime/app_runtime_api.h
diff --git a/extensions/browser/api/app_runtime/app_runtime_api.h b/extensions/browser/api/app_runtime/app_runtime_api.h
index 35a28d22f6007e15d906fa1e25c42c0cec4bb3cd..1548387b2e57d4b0040b00cd457c2fc15139d51c 100644
--- a/extensions/browser/api/app_runtime/app_runtime_api.h
+++ b/extensions/browser/api/app_runtime/app_runtime_api.h
@@ -5,10 +5,10 @@
#ifndef EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_
#define EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "extensions/common/constants.h"
class GURL;
@@ -33,7 +33,7 @@ class AppRuntimeEventRouter {
// Dispatches the onEmbedRequested event to the given app.
static void DispatchOnEmbedRequestedEvent(
content::BrowserContext* context,
- scoped_ptr<base::DictionaryValue> app_embedding_request_data,
+ std::unique_ptr<base::DictionaryValue> app_embedding_request_data,
const extensions::Extension* extension);
// Dispatches the onLaunched event to the given app.

Powered by Google App Engine
This is Rietveld 408576698