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

Unified Diff: components/printing/test/print_mock_render_thread.h

Issue 1884743002: Convert a few components from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint 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
Index: components/printing/test/print_mock_render_thread.h
diff --git a/components/printing/test/print_mock_render_thread.h b/components/printing/test/print_mock_render_thread.h
index 0f9ec058d736c6051aa7fca4a4c4ed7cbdbc86f0..4c38176bf5b947678c1c64c402302efc80939ed8 100644
--- a/components/printing/test/print_mock_render_thread.h
+++ b/components/printing/test/print_mock_render_thread.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
@@ -95,7 +96,7 @@ class PrintMockRenderThread : public content::MockRenderThread {
bool* canceled);
// A mock printer device used for printing tests.
- scoped_ptr<MockPrinter> printer_;
+ std::unique_ptr<MockPrinter> printer_;
// True to simulate user clicking print. False to cancel.
bool print_dialog_user_response_;
« no previous file with comments | « components/printing/test/mock_printer.h ('k') | components/printing/test/print_test_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698