| Index: extensions/browser/api/management/management_api.h
|
| diff --git a/extensions/browser/api/management/management_api.h b/extensions/browser/api/management/management_api.h
|
| index fc9b563bd1afa1e3a7c7194cb248907b0280270d..e25cbd455beacc51656cc9664fad3beb39b6b1b1 100644
|
| --- a/extensions/browser/api/management/management_api.h
|
| +++ b/extensions/browser/api/management/management_api.h
|
| @@ -87,7 +87,7 @@ class ManagementGetPermissionWarningsByManifestFunction
|
| MANAGEMENT_GETPERMISSIONWARNINGSBYMANIFEST);
|
|
|
| // Called when utility process finishes.
|
| - void OnParseSuccess(scoped_ptr<base::Value> value);
|
| + void OnParseSuccess(std::unique_ptr<base::Value> value);
|
| void OnParseFailure(const std::string& error);
|
|
|
| protected:
|
| @@ -127,9 +127,9 @@ class ManagementSetEnabledFunction : public UIThreadExtensionFunction {
|
|
|
| std::string extension_id_;
|
|
|
| - scoped_ptr<InstallPromptDelegate> install_prompt_;
|
| + std::unique_ptr<InstallPromptDelegate> install_prompt_;
|
|
|
| - scoped_ptr<RequirementsChecker> requirements_checker_;
|
| + std::unique_ptr<RequirementsChecker> requirements_checker_;
|
| };
|
|
|
| class ManagementUninstallFunctionBase : public UIThreadExtensionFunction {
|
| @@ -153,7 +153,7 @@ class ManagementUninstallFunctionBase : public UIThreadExtensionFunction {
|
|
|
| std::string target_extension_id_;
|
|
|
| - scoped_ptr<UninstallDialogDelegate> uninstall_dialog_;
|
| + std::unique_ptr<UninstallDialogDelegate> uninstall_dialog_;
|
| };
|
|
|
| class ManagementUninstallFunction : public ManagementUninstallFunctionBase {
|
| @@ -221,7 +221,7 @@ class ManagementGenerateAppForLinkFunction : public AsyncManagementFunction {
|
| bool RunAsync() override;
|
|
|
| private:
|
| - scoped_ptr<AppForLinkDelegate> app_for_link_delegate_;
|
| + std::unique_ptr<AppForLinkDelegate> app_for_link_delegate_;
|
| };
|
|
|
| class ManagementEventRouter : public ExtensionRegistryObserver {
|
| @@ -285,9 +285,9 @@ class ManagementAPI : public BrowserContextKeyedAPI,
|
| static const bool kServiceRedirectedInIncognito = true;
|
|
|
| // Created lazily upon OnListenerAdded.
|
| - scoped_ptr<ManagementEventRouter> management_event_router_;
|
| + std::unique_ptr<ManagementEventRouter> management_event_router_;
|
|
|
| - scoped_ptr<ManagementAPIDelegate> delegate_;
|
| + std::unique_ptr<ManagementAPIDelegate> delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ManagementAPI);
|
| };
|
|
|