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

Unified Diff: android_webview/browser/aw_form_database_service_unittest.cc

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard Created 4 years, 9 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
« no previous file with comments | « android_webview/browser/aw_form_database_service.cc ('k') | android_webview/browser/aw_login_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_form_database_service_unittest.cc
diff --git a/android_webview/browser/aw_form_database_service_unittest.cc b/android_webview/browser/aw_form_database_service_unittest.cc
index 34f4449787b08561b3b06667402bf881c592c016..e73eda552e93f365ea97ddd7ab7d782661019a2d 100644
--- a/android_webview/browser/aw_form_database_service_unittest.cc
+++ b/android_webview/browser/aw_form_database_service_unittest.cc
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "android_webview/browser/aw_form_database_service.h"
+
+#include <memory>
#include <vector>
-#include "android_webview/browser/aw_form_database_service.h"
#include "base/android/jni_android.h"
#include "base/files/scoped_temp_dir.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
@@ -52,7 +53,7 @@ class AwFormDatabaseServiceTest : public Test {
content::TestBrowserThread db_thread_;
JNIEnv* env_;
- scoped_ptr<AwFormDatabaseService> service_;
+ std::unique_ptr<AwFormDatabaseService> service_;
};
// Disabling this test until we know why it crashes.
« no previous file with comments | « android_webview/browser/aw_form_database_service.cc ('k') | android_webview/browser/aw_login_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698