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

Unified Diff: chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/chromeos/policy/affiliated_cloud_policy_invalidator.h
diff --git a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator.h b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator.h
index 9856d1171f855cd7a9d0d7a97662365a007b8dcf..574acab8e0e21b6903e51aebb5d4f76bfb94a52b 100644
--- a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator.h
+++ b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h"
#include "policy/proto/device_management_backend.pb.h"
@@ -62,7 +63,7 @@ class AffiliatedCloudPolicyInvalidator
// The current |CloudPolicyInvalidator|. nullptr if no connected invalidation
// service is available.
- scoped_ptr<CloudPolicyInvalidator> invalidator_;
+ std::unique_ptr<CloudPolicyInvalidator> invalidator_;
DISALLOW_COPY_AND_ASSIGN(AffiliatedCloudPolicyInvalidator);
};

Powered by Google App Engine
This is Rietveld 408576698