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

Unified Diff: components/password_manager/core/browser/log_manager.h

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change Created 4 years, 9 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: components/password_manager/core/browser/log_manager.h
diff --git a/components/password_manager/core/browser/log_manager.h b/components/password_manager/core/browser/log_manager.h
index 875f0b8d42124e8acab2d9629bc3fd61f599bccd..39d056bfc1e6c7b6c8905b459cd3180837b41f1a 100644
--- a/components/password_manager/core/browser/log_manager.h
+++ b/components/password_manager/core/browser/log_manager.h
@@ -5,11 +5,11 @@
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOG_MANAGER_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOG_MANAGER_H_
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace password_manager {
@@ -42,8 +42,9 @@ class LogManager {
// Returns the production code implementation of LogManager. If |log_router|
// is null, the manager will do nothing. |notification_callback| will be
// called every time the activity status of logging changes.
- static scoped_ptr<LogManager> Create(LogRouter* log_router,
- base::Closure notification_callback);
+ static std::unique_ptr<LogManager> Create(
+ LogRouter* log_router,
+ base::Closure notification_callback);
};
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698