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

Unified Diff: sync/internal_api/syncapi_server_connection_manager.h

Issue 1866243002: Convert //sync 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: sync/internal_api/syncapi_server_connection_manager.h
diff --git a/sync/internal_api/syncapi_server_connection_manager.h b/sync/internal_api/syncapi_server_connection_manager.h
index 225959baf8ef460e25d20f2dfe64908bfb07c153..093de7aa149f4dcc896d7d264362706577e79b42 100644
--- a/sync/internal_api/syncapi_server_connection_manager.h
+++ b/sync/internal_api/syncapi_server_connection_manager.h
@@ -5,12 +5,12 @@
#ifndef SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
#define SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "sync/base/sync_export.h"
#include "sync/engine/net/server_connection_manager.h"
@@ -72,7 +72,7 @@ class SYNC_EXPORT SyncAPIServerConnectionManager
// A factory creating concrete HttpPostProviders for use whenever we need to
// issue a POST to sync servers.
- scoped_ptr<HttpPostProviderFactory> post_provider_factory_;
+ std::unique_ptr<HttpPostProviderFactory> post_provider_factory_;
DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager);
};

Powered by Google App Engine
This is Rietveld 408576698