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

Unified Diff: extensions/browser/external_install_info.h

Issue 1909773002: Convert //extensions/browser 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
« no previous file with comments | « extensions/browser/extensions_test.h ('k') | extensions/browser/external_install_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/external_install_info.h
diff --git a/extensions/browser/external_install_info.h b/extensions/browser/external_install_info.h
index 72a19e8b9c9c4a0ceae1887c4b9fcb6c305b60e0..19124d7531b9e9a0c2d5deca2d789f311847b6d9 100644
--- a/extensions/browser/external_install_info.h
+++ b/extensions/browser/external_install_info.h
@@ -35,7 +35,7 @@ struct ExternalInstallInfo {
struct ExternalInstallInfoFile : public ExternalInstallInfo {
ExternalInstallInfoFile(const std::string& extension_id,
- scoped_ptr<base::Version> version,
+ std::unique_ptr<base::Version> version,
const base::FilePath& path,
Manifest::Location crx_location,
int creation_flags,
@@ -43,7 +43,7 @@ struct ExternalInstallInfoFile : public ExternalInstallInfo {
bool install_immediately);
~ExternalInstallInfoFile() override;
- scoped_ptr<base::Version> version;
+ std::unique_ptr<base::Version> version;
base::FilePath path;
Manifest::Location crx_location;
bool install_immediately;
@@ -52,14 +52,14 @@ struct ExternalInstallInfoFile : public ExternalInstallInfo {
struct ExternalInstallInfoUpdateUrl : public ExternalInstallInfo {
ExternalInstallInfoUpdateUrl(const std::string& extension_id,
const std::string& install_parameter,
- scoped_ptr<GURL> update_url,
+ std::unique_ptr<GURL> update_url,
Manifest::Location download_location,
int creation_flags,
bool mark_acknowledged);
~ExternalInstallInfoUpdateUrl() override;
std::string install_parameter;
- scoped_ptr<GURL> update_url;
+ std::unique_ptr<GURL> update_url;
Manifest::Location download_location;
};
« no previous file with comments | « extensions/browser/extensions_test.h ('k') | extensions/browser/external_install_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698