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

Side by Side Diff: mojo/services/tracing/public/cpp/tracing_impl.cc

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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
« no previous file with comments | « mojo/services/tracing/public/cpp/tracing_impl.h ('k') | mojo/services/tracing/tracing_app.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/services/tracing/public/cpp/tracing_impl.h" 5 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #ifdef NDEBUG 59 #ifdef NDEBUG
60 if (base::CommandLine::ForCurrentProcess()->HasSwitch( 60 if (base::CommandLine::ForCurrentProcess()->HasSwitch(
61 tracing::kEarlyTracing)) { 61 tracing::kEarlyTracing)) {
62 provider_impl_.ForceEnableTracing(); 62 provider_impl_.ForceEnableTracing();
63 } 63 }
64 #else 64 #else
65 provider_impl_.ForceEnableTracing(); 65 provider_impl_.ForceEnableTracing();
66 #endif 66 #endif
67 } 67 }
68 68
69 void TracingImpl::Create(ApplicationConnection* connection, 69 void TracingImpl::Create(Connection* connection,
70 InterfaceRequest<tracing::TraceProvider> request) { 70 InterfaceRequest<tracing::TraceProvider> request) {
71 provider_impl_.Bind(std::move(request)); 71 provider_impl_.Bind(std::move(request));
72 } 72 }
73 73
74 } // namespace mojo 74 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/tracing/public/cpp/tracing_impl.h ('k') | mojo/services/tracing/tracing_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698