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

Unified Diff: chrome/browser/extensions/updater/extension_updater.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/updater/extension_updater.h
diff --git a/chrome/browser/extensions/updater/extension_updater.h b/chrome/browser/extensions/updater/extension_updater.h
index dcf656ed8e72ba7e94545c0318851d5a02b91c1c..d2568296e1b6fc520220de2e2b083c9269d51ea7 100644
--- a/chrome/browser/extensions/updater/extension_updater.h
+++ b/chrome/browser/extensions/updater/extension_updater.h
@@ -7,6 +7,7 @@
#include <list>
#include <map>
+#include <memory>
#include <set>
#include <stack>
#include <string>
@@ -15,7 +16,6 @@
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/scoped_observer.h"
#include "base/time/time.h"
@@ -240,7 +240,7 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
const ExtensionDownloader::Factory downloader_factory_;
// Fetches the crx files for the extensions that have an available update.
- scoped_ptr<ExtensionDownloader> downloader_;
+ std::unique_ptr<ExtensionDownloader> downloader_;
base::OneShotTimer timer_;
int frequency_seconds_;

Powered by Google App Engine
This is Rietveld 408576698