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

Unified Diff: components/ownership/mock_owner_key_util.h

Issue 1921923002: Convert //components/[o-t]* 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: components/ownership/mock_owner_key_util.h
diff --git a/components/ownership/mock_owner_key_util.h b/components/ownership/mock_owner_key_util.h
index 2ccd4b21fc4d52996e45e9d17da8e2c9760ccc55..86c379887350bf9b019a624383b533eb492bd3f1 100644
--- a/components/ownership/mock_owner_key_util.h
+++ b/components/ownership/mock_owner_key_util.h
@@ -7,12 +7,12 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/ownership/owner_key_util.h"
#include "components/ownership/ownership_export.h"
@@ -46,7 +46,7 @@ class OWNERSHIP_EXPORT MockOwnerKeyUtil : public OwnerKeyUtil {
void SetPublicKeyFromPrivateKey(const crypto::RSAPrivateKey& key);
// Sets the private key (also configures the public key).
- void SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key);
+ void SetPrivateKey(std::unique_ptr<crypto::RSAPrivateKey> key);
private:
~MockOwnerKeyUtil() override;
« no previous file with comments | « components/open_from_clipboard/clipboard_recent_content_ios_unittest.mm ('k') | components/ownership/mock_owner_key_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698