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

Unified Diff: chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl.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_invalidation_service_provider_impl.h
diff --git a/chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl.h b/chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl.h
index d69d11b636519a57f8cbeb1491f5316eb2e047f1..4bf4219388e3ed8ed103882400a904160f1d6234 100644
--- a/chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl.h
+++ b/chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_AFFILIATED_INVALIDATION_SERVICE_PROVIDER_IMPL_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_AFFILIATED_INVALIDATION_SERVICE_PROVIDER_IMPL_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/observer_list.h"
#include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h"
@@ -70,11 +71,12 @@ class AffiliatedInvalidationServiceProviderImpl
content::NotificationRegistrar registrar_;
// Device-global invalidation service.
- scoped_ptr<invalidation::TiclInvalidationService>
+ std::unique_ptr<invalidation::TiclInvalidationService>
device_invalidation_service_;
// State observer for the device-global invalidation service.
- scoped_ptr<InvalidationServiceObserver> device_invalidation_service_observer_;
+ std::unique_ptr<InvalidationServiceObserver>
+ device_invalidation_service_observer_;
// State observers for logged-in users' invalidation services.
ScopedVector<InvalidationServiceObserver>

Powered by Google App Engine
This is Rietveld 408576698