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

Unified Diff: sky/engine/core/script/dart_debugger.h

Issue 1107803002: Add Observatory to sky dart_controller (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
Index: sky/engine/core/script/dart_debugger.h
diff --git a/mojo/dart/embedder/dart_debugger.h b/sky/engine/core/script/dart_debugger.h
similarity index 85%
copy from mojo/dart/embedder/dart_debugger.h
copy to sky/engine/core/script/dart_debugger.h
index fe7ef2d84f31c1cffe796fda4dc6cf9074d5e896..eaaabf273cbc731e12adc3e0b5fc1559c86d0ed0 100644
--- a/mojo/dart/embedder/dart_debugger.h
+++ b/sky/engine/core/script/dart_debugger.h
@@ -2,20 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_DART_EMBEDDER_DART_DEBUGGER_H_
-#define MOJO_DART_EMBEDDER_DART_DEBUGGER_H_
+#ifndef SKY_ENGINE_CORE_SCRIPT_DART_DEBUGGER_H_
+#define SKY_ENGINE_CORE_SCRIPT_DART_DEBUGGER_H_
#include "dart/runtime/include/dart_api.h"
#include "dart/runtime/include/dart_debugger_api.h"
#include "dart/runtime/include/dart_native_api.h"
-#include "mojo/dart/embedder/monitor.h"
+#include "monitor.h"
namespace base {
class Lock;
}
-namespace mojo {
-namespace dart {
+namespace blink {
class DartDebuggerIsolate {
public:
@@ -69,12 +68,11 @@ class DartDebugger {
static void RemoveIsolate(Dart_IsolateId id);
static base::Lock* lock_;
- static std::vector<DartDebuggerIsolate*> isolates_;
+ static std::vector<DartDebuggerIsolate*>* isolates_;
friend class DartDebuggerIsolate;
};
-} // namespace dart
-} // namespace mojo
+} // namespace blink
-#endif // MOJO_DART_EMBEDDER_DART_DEBUGGER_H_
+#endif // SKY_ENGINE_CORE_SCRIPT_DART_DEBUGGER_H_

Powered by Google App Engine
This is Rietveld 408576698