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:
James Robinson 2014-11-25 16:23:42 -08:00
parent fbe2359eec
commit 2cc9b542a0
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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_;