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

Unified Diff: content/public/test/test_browser_thread.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/public/test/test_browser_context.cc ('k') | content/public/test/test_browser_thread_bundle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_thread.h
diff --git a/content/public/test/test_browser_thread.h b/content/public/test/test_browser_thread.h
index 83b1985b87f8ec3974e04c32eeb124f3fbd87d1e..e5c837d405cddee2c5e301a167302241a04a5686 100644
--- a/content/public/test/test_browser_thread.h
+++ b/content/public/test/test_browser_thread.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_
#define CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/browser/browser_thread.h"
namespace base {
@@ -54,7 +55,7 @@ class TestBrowserThread {
base::Thread* DeprecatedGetThreadObject();
private:
- scoped_ptr<TestBrowserThreadImpl> impl_;
+ std::unique_ptr<TestBrowserThreadImpl> impl_;
DISALLOW_COPY_AND_ASSIGN(TestBrowserThread);
};
« no previous file with comments | « content/public/test/test_browser_context.cc ('k') | content/public/test/test_browser_thread_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698