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

Side by Side Diff: components/tracing/child_trace_message_filter_browsertest.cc

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include <memory> 7 #include <memory>
8 #include <tuple> 8 #include <tuple>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/run_loop.h" 11 #include "base/run_loop.h"
13 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
14 #include "base/trace_event/memory_dump_manager.h" 13 #include "base/trace_event/memory_dump_manager.h"
15 #include "base/trace_event/memory_dump_provider.h" 14 #include "base/trace_event/memory_dump_provider.h"
16 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
17 #include "components/tracing/child_memory_dump_manager_delegate_impl.h" 16 #include "components/tracing/child_memory_dump_manager_delegate_impl.h"
18 #include "components/tracing/child_trace_message_filter.h" 17 #include "components/tracing/child_trace_message_filter.h"
19 #include "components/tracing/tracing_messages.h" 18 #include "components/tracing/tracing_messages.h"
20 #include "content/public/test/render_view_test.h" 19 #include "content/public/test/render_view_test.h"
21 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 TracingMsg_GlobalMemoryDumpResponse(args.dump_guid, success)); 302 TracingMsg_GlobalMemoryDumpResponse(args.dump_guid, success));
304 EXPECT_EQ(i + 1, callback_call_count_); 303 EXPECT_EQ(i + 1, callback_call_count_);
305 EXPECT_EQ(args.dump_guid, last_callback_dump_guid_); 304 EXPECT_EQ(args.dump_guid, last_callback_dump_guid_);
306 EXPECT_EQ(success, last_callback_status_); 305 EXPECT_EQ(success, last_callback_status_);
307 } 306 }
308 307
309 DisableTracing(); 308 DisableTracing();
310 } 309 }
311 310
312 } // namespace tracing 311 } // namespace tracing
OLDNEW
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | content/browser/android/popup_touch_handle_drawable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698