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

Side by Side Diff: mojo/common/tracing_impl.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/common/tracing_impl.h" 5 #include "mojo/common/tracing_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/trace_event/trace_event_impl.h" 9 #include "base/trace_event/trace_event_impl.h"
10 #include "mojo/public/cpp/application/application_impl.h"
11 #include "mojo/public/cpp/application/connect.h" 10 #include "mojo/public/cpp/application/connect.h"
12 #include "mojo/public/cpp/bindings/interface_handle.h" 11 #include "mojo/public/cpp/bindings/interface_handle.h"
13 #include "mojo/public/cpp/bindings/interface_request.h" 12 #include "mojo/public/cpp/bindings/interface_request.h"
14 #include "mojo/services/tracing/interfaces/trace_provider_registry.mojom.h" 13 #include "mojo/services/tracing/interfaces/trace_provider_registry.mojom.h"
15 #include "mojo/services/tracing/interfaces/tracing.mojom.h" 14 #include "mojo/services/tracing/interfaces/tracing.mojom.h"
16 15
17 namespace mojo { 16 namespace mojo {
18 17
19 TracingImpl::TracingImpl() {} 18 TracingImpl::TracingImpl() {}
20 19
(...skipping 12 matching lines...) Expand all
33 if (args) { 32 if (args) {
34 if (std::find(args->begin(), args->end(), "--early-tracing") != args->end()) 33 if (std::find(args->begin(), args->end(), "--early-tracing") != args->end())
35 provider_impl_.ForceEnableTracing(); 34 provider_impl_.ForceEnableTracing();
36 } 35 }
37 #else 36 #else
38 provider_impl_.ForceEnableTracing(); 37 provider_impl_.ForceEnableTracing();
39 #endif 38 #endif
40 } 39 }
41 40
42 } // namespace mojo 41 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/trace_provider_impl.cc ('k') | mojo/public/platform/native/platform_handle_private_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698