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

Side by Side Diff: services/tracing/recorder.h

Issue 2608513002: Remove mojo::String. (Closed)
Patch Set: rebase Created 3 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 | « services/tracing/public/cpp/provider.cc ('k') | services/tracing/service.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 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 #ifndef SERVICES_TRACING_RECORDER_H_ 5 #ifndef SERVICES_TRACING_RECORDER_H_
6 #define SERVICES_TRACING_RECORDER_H_ 6 #define SERVICES_TRACING_RECORDER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/binding.h" 9 #include "mojo/public/cpp/bindings/binding.h"
10 #include "mojo/public/cpp/bindings/string.h"
11 #include "services/tracing/data_sink.h" 10 #include "services/tracing/data_sink.h"
12 #include "services/tracing/public/interfaces/tracing.mojom.h" 11 #include "services/tracing/public/interfaces/tracing.mojom.h"
13 12
14 namespace tracing { 13 namespace tracing {
15 14
16 class Recorder : public mojom::Recorder { 15 class Recorder : public mojom::Recorder {
17 public: 16 public:
18 Recorder(mojom::RecorderRequest request, DataSink* sink); 17 Recorder(mojom::RecorderRequest request, DataSink* sink);
19 ~Recorder() override; 18 ~Recorder() override;
20 19
(...skipping 12 matching lines...) Expand all
33 32
34 DataSink* sink_; 33 DataSink* sink_;
35 mojo::Binding<mojom::Recorder> binding_; 34 mojo::Binding<mojom::Recorder> binding_;
36 35
37 DISALLOW_COPY_AND_ASSIGN(Recorder); 36 DISALLOW_COPY_AND_ASSIGN(Recorder);
38 }; 37 };
39 38
40 } // namespace tracing 39 } // namespace tracing
41 40
42 #endif // SERVICES_TRACING_RECORDER_H_ 41 #endif // SERVICES_TRACING_RECORDER_H_
OLDNEW
« no previous file with comments | « services/tracing/public/cpp/provider.cc ('k') | services/tracing/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698