Index: chrome/browser/ui/cocoa/autofill/save_card_bubble_view_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_unittest.mm b/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_unittest.mm |
index c9f0a839ff779c6cdf3c9937bc0bf2ba7f5dd9b3..81961a7aa36ae08825c40f09d46a6d2608371082 100644 |
--- a/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_unittest.mm |
+++ b/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_unittest.mm |
@@ -2,8 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <Carbon/Carbon.h> // For the kVK_* constants. |
+ |
+#include <memory> |
+ |
#include "base/json/json_reader.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
#include "chrome/browser/ui/autofill/save_card_bubble_controller.h" |
#import "chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.h" |
@@ -13,8 +16,6 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#import "ui/events/test/cocoa_test_event_utils.h" |
-#include <Carbon/Carbon.h> // For the kVK_* constants. |
- |
namespace autofill { |
namespace { |
@@ -92,7 +93,7 @@ class TestSaveCardBubbleController : public SaveCardBubbleController { |
" }" |
" ]" |
"}"; |
- scoped_ptr<base::Value> value(base::JSONReader::Read(message_json)); |
+ std::unique_ptr<base::Value> value(base::JSONReader::Read(message_json)); |
ASSERT_TRUE(value); |
base::DictionaryValue* dictionary = nullptr; |
ASSERT_TRUE(value->GetAsDictionary(&dictionary)); |
@@ -133,7 +134,7 @@ class SaveCardBubbleViewTest : public CocoaProfileTest { |
protected: |
BrowserWindowController* browser_window_controller_; |
- scoped_ptr<TestSaveCardBubbleController> bubble_controller_; |
+ std::unique_ptr<TestSaveCardBubbleController> bubble_controller_; |
SaveCardBubbleViewBridge* bridge_; |
}; |