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

Unified Diff: components/test_runner/test_interfaces.h

Issue 1921923002: Convert //components/[o-t]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 | « components/test_runner/pixel_dump.cc ('k') | components/test_runner/test_plugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_interfaces.h
diff --git a/components/test_runner/test_interfaces.h b/components/test_runner/test_interfaces.h
index af1a030a3bed77bd483fbf6c0548531196a0689d..6b534a0c0395ef8a6a1e480ec36ef2e03ba093be 100644
--- a/components/test_runner/test_interfaces.h
+++ b/components/test_runner/test_interfaces.h
@@ -5,10 +5,10 @@
#ifndef COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_
#define COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "components/test_runner/mock_web_theme_engine.h"
#include "third_party/WebKit/public/platform/WebNonCopyable.h"
@@ -54,12 +54,12 @@ class TestInterfaces {
private:
base::WeakPtr<GamepadController> gamepad_controller_;
- scoped_ptr<TestRunner> test_runner_;
+ std::unique_ptr<TestRunner> test_runner_;
WebTestDelegate* delegate_;
AppBannerClient* app_banner_client_;
std::vector<WebTestProxyBase*> window_list_;
- scoped_ptr<MockWebThemeEngine> theme_engine_;
+ std::unique_ptr<MockWebThemeEngine> theme_engine_;
DISALLOW_COPY_AND_ASSIGN(TestInterfaces);
};
« no previous file with comments | « components/test_runner/pixel_dump.cc ('k') | components/test_runner/test_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698