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

Unified Diff: content/test/browser_side_navigation_test_utils.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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
« no previous file with comments | « content/test/blink_test_environment.cc ('k') | content/test/browser_side_navigation_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/browser_side_navigation_test_utils.h
diff --git a/content/test/browser_side_navigation_test_utils.h b/content/test/browser_side_navigation_test_utils.h
index a2daa6e1bd308b88c5f7ffe6d74de9d30d5eacd9..b3d0b13306181eb1de84542b95ea926d6d94374a 100644
--- a/content/test/browser_side_navigation_test_utils.h
+++ b/content/test/browser_side_navigation_test_utils.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_TEST_BROWSER_SIDE_NAVIGATION_TEST_UTILS_H_
#define CONTENT_TEST_BROWSER_SIDE_NAVIGATION_TEST_UTILS_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace content {
@@ -24,7 +25,7 @@ void BrowserSideNavigationTearDown();
// Returns an empty stream. Used when faking a navigation commit notification
// from the IO thread with a TestNavigationURLLoader.
-scoped_ptr<StreamHandle> MakeEmptyStream();
+std::unique_ptr<StreamHandle> MakeEmptyStream();
// If a test needs to run with browser side navigation enabled, call this
// function before doing any setup. In particular, for tests inheriting from
« no previous file with comments | « content/test/blink_test_environment.cc ('k') | content/test/browser_side_navigation_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698