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

Side by Side Diff: mojo/services/tracing/tracing_app.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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/tracing_app.h ('k') | mojo/shell/BUILD.gn » ('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 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 "mojo/services/tracing/tracing_app.h" 5 #include "mojo/services/tracing/tracing_app.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "mojo/application/public/cpp/application_connection.h" 15 #include "mojo/shell/public/cpp/application_connection.h"
16 16
17 namespace tracing { 17 namespace tracing {
18 18
19 TracingApp::TracingApp() : collector_binding_(this), tracing_active_(false) { 19 TracingApp::TracingApp() : collector_binding_(this), tracing_active_(false) {
20 } 20 }
21 21
22 TracingApp::~TracingApp() { 22 TracingApp::~TracingApp() {
23 } 23 }
24 24
25 bool TracingApp::ConfigureIncomingConnection( 25 bool TracingApp::ConfigureIncomingConnection(
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 const GetStartupPerformanceTimesCallback& callback) { 171 const GetStartupPerformanceTimesCallback& callback) {
172 callback.Run(startup_performance_times_.Clone()); 172 callback.Run(startup_performance_times_.Clone());
173 } 173 }
174 174
175 void TracingApp::AllDataCollected() { 175 void TracingApp::AllDataCollected() {
176 recorder_impls_.clear(); 176 recorder_impls_.clear();
177 sink_.reset(); 177 sink_.reset();
178 } 178 }
179 179
180 } // namespace tracing 180 } // namespace tracing
OLDNEW
« no previous file with comments | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698