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

Unified Diff: cc/test/proxy_main_for_test.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/test/proxy_impl_for_test.cc ('k') | cc/test/proxy_main_for_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/proxy_main_for_test.h
diff --git a/cc/test/proxy_main_for_test.h b/cc/test/proxy_main_for_test.h
index b3241882315cda52d738f127743372a77dcc403d..c2082116f244a052d23deb2145201e5d916e064f 100644
--- a/cc/test/proxy_main_for_test.h
+++ b/cc/test/proxy_main_for_test.h
@@ -16,12 +16,12 @@ class ThreadedChannelForTest;
// actions.
class ProxyMainForTest : public ProxyMain {
public:
- static scoped_ptr<ProxyMainForTest> CreateThreaded(
+ static std::unique_ptr<ProxyMainForTest> CreateThreaded(
TestHooks* test_hooks,
LayerTreeHost* host,
TaskRunnerProvider* task_runner_provider);
- static scoped_ptr<ProxyMainForTest> CreateRemote(
+ static std::unique_ptr<ProxyMainForTest> CreateRemote(
TestHooks* test_hooks,
RemoteProtoChannel* remote_proto_channel,
LayerTreeHost* host,
@@ -43,7 +43,7 @@ class ProxyMainForTest : public ProxyMain {
const RendererCapabilities& capabilities) override;
void BeginMainFrameNotExpectedSoon() override;
void DidCommitAndDrawFrame() override;
- void SetAnimationEvents(scoped_ptr<AnimationEvents> events) override;
+ void SetAnimationEvents(std::unique_ptr<AnimationEvents> events) override;
void DidLoseOutputSurface() override;
void RequestNewOutputSurface() override;
void DidInitializeOutputSurface(
@@ -51,11 +51,11 @@ class ProxyMainForTest : public ProxyMain {
const RendererCapabilities& capabilities) override;
void DidCompletePageScaleAnimation() override;
void PostFrameTimingEventsOnMain(
- scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
- scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
+ std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
+ std::unique_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
override;
- void BeginMainFrame(
- scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) override;
+ void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState>
+ begin_main_frame_state) override;
TestHooks* test_hooks_;
ThreadedChannelForTest* threaded_channel_for_test_;
« no previous file with comments | « cc/test/proxy_impl_for_test.cc ('k') | cc/test/proxy_main_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698