Move tracing_impl code to mojo/common
This moves the tracing code and mojoms from sky/viewer/services/ to mojo/common/ in anticipation of refactoring these to be more widely usable. This doesn't actually change behaviors yet. BUG=436639 R=abarth@chromium.org Review URL: https://codereview.chromium.org/751303003
This commit is contained in:
parent
fbe2359eec
commit
2cc9b542a0
@ -14,6 +14,7 @@ mojo_native_application("prompt") {
|
||||
deps = [
|
||||
"//base",
|
||||
"//mojo/application",
|
||||
"//mojo/common:tracing_bindings",
|
||||
"//mojo/public/c/system:for_shared_library",
|
||||
"//mojo/public/cpp/bindings",
|
||||
"//mojo/public/cpp/utility",
|
||||
|
@ -5,11 +5,11 @@
|
||||
#include "base/bind.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "mojo/application/application_runner_chromium.h"
|
||||
#include "mojo/common/tracing.mojom.h"
|
||||
#include "mojo/public/c/system/main.h"
|
||||
#include "mojo/public/cpp/application/application_delegate.h"
|
||||
#include "mojo/public/cpp/application/application_impl.h"
|
||||
#include "sky/tools/debugger/debugger.mojom.h"
|
||||
#include "sky/viewer/services/tracing.mojom.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace sky {
|
||||
@ -148,7 +148,7 @@ class Prompt : public mojo::ApplicationDelegate {
|
||||
|
||||
bool is_tracing_;
|
||||
DebuggerPtr debugger_;
|
||||
TracingPtr tracing_;
|
||||
mojo::TracingPtr tracing_;
|
||||
std::string url_;
|
||||
base::WeakPtrFactory<Prompt> weak_ptr_factory_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user