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

Unified Diff: extensions/browser/info_map.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
Index: extensions/browser/info_map.h
diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
index c540cef6549ea4bc73a2066a19cb2b354a4c9eb6..2deafec5e82b819e903eaf7a46d778cf248a4455 100644
--- a/extensions/browser/info_map.h
+++ b/extensions/browser/info_map.h
@@ -5,10 +5,10 @@
#ifndef EXTENSIONS_BROWSER_INFO_MAP_H_
#define EXTENSIONS_BROWSER_INFO_MAP_H_
+#include <memory>
#include <string>
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "extensions/browser/process_map.h"
#include "extensions/browser/quota_service.h"
@@ -114,7 +114,7 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
// Used by dispatchers to limit API quota for individual extensions.
// The QuotaService is not thread safe. We need to create and destroy it on
// the IO thread.
- scoped_ptr<QuotaService> quota_service_;
+ std::unique_ptr<QuotaService> quota_service_;
// Assignment of extensions to renderer processes.
extensions::ProcessMap process_map_;
« no previous file with comments | « extensions/browser/image_loader_unittest.cc ('k') | extensions/browser/lazy_background_task_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698