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

Unified Diff: extensions/common/permissions/api_permission.h

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « extensions/common/message_bundle_unittest.cc ('k') | extensions/common/permissions/api_permission.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/api_permission.h
diff --git a/extensions/common/permissions/api_permission.h b/extensions/common/permissions/api_permission.h
index f6903626f4a4d1779abadc1ea08a17fac82e1be0..a6069dfb0be91b541f2d2dec0862b06adab2c446 100644
--- a/extensions/common/permissions/api_permission.h
+++ b/extensions/common/permissions/api_permission.h
@@ -5,12 +5,12 @@
#ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
#define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
+#include <memory>
#include <set>
#include <string>
#include <vector>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/pickle.h"
#include "base/values.h"
@@ -308,7 +308,7 @@ class APIPermission {
std::vector<std::string>* unhandled_permissions) = 0;
// Stores this into a new created |value|.
- virtual scoped_ptr<base::Value> ToValue() const = 0;
+ virtual std::unique_ptr<base::Value> ToValue() const = 0;
// Clones this.
virtual APIPermission* Clone() const = 0;
« no previous file with comments | « extensions/common/message_bundle_unittest.cc ('k') | extensions/common/permissions/api_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698