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

Unified Diff: chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_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/remote_commands/affiliated_remote_commands_invalidator.h
diff --git a/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h b/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h
index c981377820709fc2b3399d0293bc87aefab35340..53decf6b1c9653b9f3ca1e824ccd9d4cab9e3256 100644
--- a/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h
+++ b/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_AFFILIATED_REMOTE_COMMANDS_INVALIDATOR_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_AFFILIATED_REMOTE_COMMANDS_INVALIDATOR_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h"
namespace policy {
@@ -32,7 +33,7 @@ class AffiliatedRemoteCommandsInvalidator
CloudPolicyCore* const core_;
AffiliatedInvalidationServiceProvider* const invalidation_service_provider_;
- scoped_ptr<RemoteCommandsInvalidatorImpl> invalidator_;
+ std::unique_ptr<RemoteCommandsInvalidatorImpl> invalidator_;
DISALLOW_COPY_AND_ASSIGN(AffiliatedRemoteCommandsInvalidator);
};

Powered by Google App Engine
This is Rietveld 408576698