Index: components/test_runner/mock_credential_manager_client.h |
diff --git a/components/test_runner/mock_credential_manager_client.h b/components/test_runner/mock_credential_manager_client.h |
index 34c2974b6965152e303b77f2201343e07bc5f61f..5996536d29e427baf8072a60d080f40ede9ee11b 100644 |
--- a/components/test_runner/mock_credential_manager_client.h |
+++ b/components/test_runner/mock_credential_manager_client.h |
@@ -5,8 +5,9 @@ |
#ifndef COMPONENTS_TEST_RUNNER_MOCK_CREDENTIAL_MANAGER_CLIENT_H_ |
#define COMPONENTS_TEST_RUNNER_MOCK_CREDENTIAL_MANAGER_CLIENT_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "third_party/WebKit/public/platform/WebCredentialManagerClient.h" |
#include "third_party/WebKit/public/platform/WebCredentialManagerError.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
@@ -38,7 +39,7 @@ class MockCredentialManagerClient : public blink::WebCredentialManagerClient { |
RequestCallbacks* callbacks) override; |
private: |
- scoped_ptr<blink::WebCredential> credential_; |
+ std::unique_ptr<blink::WebCredential> credential_; |
blink::WebCredentialManagerError error_; |
DISALLOW_COPY_AND_ASSIGN(MockCredentialManagerClient); |