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

Unified Diff: services/shell/standalone/tracer.h

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/shell/standalone/desktop/main_helper.cc ('k') | services/shell/standalone/tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/standalone/tracer.h
diff --git a/services/shell/standalone/tracer.h b/services/shell/standalone/tracer.h
index 18e27f53afbd26a8f4e382cad4f491c8a397fb67..173f3ab2ddbf966ea746243261a6b600384d24e4 100644
--- a/services/shell/standalone/tracer.h
+++ b/services/shell/standalone/tracer.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include <stdio.h>
+#include <memory>
#include <string>
#include "base/callback.h"
@@ -17,7 +18,6 @@
#include "services/tracing/public/cpp/trace_provider_impl.h"
#include "services/tracing/public/interfaces/tracing.mojom.h"
-namespace mojo {
namespace shell {
// Tracer collects tracing data from base/trace_event and from externally
@@ -77,7 +77,7 @@ class Tracer : public mojo::common::DataPipeDrainer::Client {
// Set when connected to the tracing service.
tracing::TraceCollectorPtr coordinator_;
- scoped_ptr<mojo::common::DataPipeDrainer> drainer_;
+ std::unique_ptr<mojo::common::DataPipeDrainer> drainer_;
mojo::TraceProviderImpl trace_provider_impl_;
// Whether we're currently tracing.
@@ -97,6 +97,5 @@ class Tracer : public mojo::common::DataPipeDrainer::Client {
};
} // namespace shell
-} // namespace mojo
#endif // SERVICES_SHELL_STANDALONE_TRACER_H_
« no previous file with comments | « services/shell/standalone/desktop/main_helper.cc ('k') | services/shell/standalone/tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698