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

Side by Side Diff: components/metrics/child_call_stack_profile_collector_unittest.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/metrics/child_call_stack_profile_collector.h" 5 #include "components/metrics/child_call_stack_profile_collector.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "components/metrics/call_stack_profile_params.h" 13 #include "components/metrics/call_stack_profile_params.h"
14 #include "mojo/public/cpp/bindings/binding.h" 14 #include "mojo/public/cpp/bindings/binding.h"
15 #include "mojo/public/cpp/bindings/interface_request.h" 15 #include "mojo/public/cpp/bindings/interface_request.h"
16 #include "services/shell/public/cpp/interface_provider.h" 16 #include "services/service_manager/public/cpp/interface_provider.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace metrics { 19 namespace metrics {
20 20
21 namespace { 21 namespace {
22 22
23 23
24 } // namespace 24 } // namespace
25 25
26 class ChildCallStackProfileCollectorTest : public testing::Test { 26 class ChildCallStackProfileCollectorTest : public testing::Test {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 CollectProfiles( 166 CollectProfiles(
167 CallStackProfileParams(CallStackProfileParams::GPU_PROCESS, 167 CallStackProfileParams(CallStackProfileParams::GPU_PROCESS,
168 CallStackProfileParams::GPU_MAIN_THREAD, 168 CallStackProfileParams::GPU_MAIN_THREAD,
169 CallStackProfileParams::THREAD_HUNG, 169 CallStackProfileParams::THREAD_HUNG,
170 CallStackProfileParams::PRESERVE_ORDER), 170 CallStackProfileParams::PRESERVE_ORDER),
171 { base::StackSamplingProfiler::CallStackProfile() }); 171 { base::StackSamplingProfiler::CallStackProfile() });
172 EXPECT_EQ(0u, profiles().size()); 172 EXPECT_EQ(0u, profiles().size());
173 } 173 }
174 174
175 } // namespace metrics 175 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/child_call_stack_profile_collector.cc ('k') | components/password_manager/content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698