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

Unified Diff: chrome/common/extensions/chrome_extensions_client.h

Issue 1880143002: Convert chrome/common 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/common/extensions/chrome_extensions_client.h
diff --git a/chrome/common/extensions/chrome_extensions_client.h b/chrome/common/extensions/chrome_extensions_client.h
index 171168db1bda1348aab19a4b08575838eb65e5d7..9f67cfb102f1eb780a0407ce927d3ca9a164be51 100644
--- a/chrome/common/extensions/chrome_extensions_client.h
+++ b/chrome/common/extensions/chrome_extensions_client.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_
#define CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/lazy_instance.h"
#include "base/macros.h"
@@ -27,9 +29,9 @@ class ChromeExtensionsClient : public ExtensionsClient {
const PermissionMessageProvider& GetPermissionMessageProvider()
const override;
const std::string GetProductName() override;
- scoped_ptr<FeatureProvider> CreateFeatureProvider(
+ std::unique_ptr<FeatureProvider> CreateFeatureProvider(
const std::string& name) const override;
- scoped_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource(
+ std::unique_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource(
const std::string& name) const override;
void FilterHostPermissions(const URLPatternSet& hosts,
URLPatternSet* new_hosts,
« no previous file with comments | « chrome/common/extensions/api/url_handlers/url_handlers_parser.cc ('k') | chrome/common/extensions/chrome_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698