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

Unified Diff: content/browser/browser_process_sub_thread.h

Issue 1874893002: Convert //content/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
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/browser_thread_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_process_sub_thread.h
diff --git a/content/browser/browser_process_sub_thread.h b/content/browser/browser_process_sub_thread.h
index aded0cb883ff9cc95ea7f32ce738e2b9fa4f659e..65d73ea0248538ac0c82900d928fc3850c456669 100644
--- a/content/browser/browser_process_sub_thread.h
+++ b/content/browser/browser_process_sub_thread.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
#define CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "content/browser/browser_thread_impl.h"
#include "content/common/content_export.h"
@@ -49,11 +50,11 @@ class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThreadImpl {
void IOThreadPreCleanUp();
#if defined (OS_WIN)
- scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
+ std::unique_ptr<base::win::ScopedCOMInitializer> com_initializer_;
#endif
// Each specialized thread has its own notification service.
- scoped_ptr<NotificationService> notification_service_;
+ std::unique_ptr<NotificationService> notification_service_;
DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread);
};
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/browser_thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698