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

Unified Diff: chrome/browser/extensions/api/webstore/webstore_api.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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/browser/extensions/api/webstore/webstore_api.h
diff --git a/chrome/browser/extensions/api/webstore/webstore_api.h b/chrome/browser/extensions/api/webstore/webstore_api.h
index 95ebdb6aefaca38202c2c1a16b0087853361c144..378d581bd69674d6782568fd5c80c4e3244a768a 100644
--- a/chrome/browser/extensions/api/webstore/webstore_api.h
+++ b/chrome/browser/extensions/api/webstore/webstore_api.h
@@ -6,10 +6,10 @@
#define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_H_
#include <list>
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/scoped_observer.h"
#include "chrome/browser/extensions/install_observer.h"
#include "chrome/common/extensions/api/webstore/webstore_api_constants.h"
@@ -93,7 +93,7 @@ class WebstoreAPI : public BrowserContextKeyedAPI,
ObservedInstallInfoList download_progress_listeners_;
ObservedInstallInfoList install_stage_listeners_;
content::BrowserContext* browser_context_;
- scoped_ptr<ScopedObserver<InstallTracker, InstallObserver> >
+ std::unique_ptr<ScopedObserver<InstallTracker, InstallObserver>>
install_observer_;
DISALLOW_COPY_AND_ASSIGN(WebstoreAPI);

Powered by Google App Engine
This is Rietveld 408576698