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

Unified Diff: runtime/bin/observatory_assets_empty.cc

Issue 1411853003: Service isolate requests Observatory assets from embedder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « runtime/bin/main.cc ('k') | runtime/bin/resources_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/observatory_assets_empty.cc
diff --git a/runtime/bin/snapshot_empty.cc b/runtime/bin/observatory_assets_empty.cc
similarity index 60%
copy from runtime/bin/snapshot_empty.cc
copy to runtime/bin/observatory_assets_empty.cc
index 4fd42b3d045b44f6f3345558bddd882c77f36ed8..a72f4b753728b246e7d99b6f934afab9359a5a29 100644
--- a/runtime/bin/snapshot_empty.cc
+++ b/runtime/bin/observatory_assets_empty.cc
@@ -1,9 +1,9 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// This file is linked into the dart executable when it does not have a
-// snapshot linked into it.
+// This file is linked into the dart executable when it does not have
+// Observatory baked in.
#if defined(_WIN32)
typedef unsigned __int8 uint8_t;
@@ -13,12 +13,12 @@ typedef unsigned __int8 uint8_t;
#endif
#include <stddef.h>
-
namespace dart {
namespace bin {
-const uint8_t* vm_isolate_snapshot_buffer = NULL;
-const uint8_t* isolate_snapshot_buffer = NULL;
+static const char observatory_assets_archive_[] = { '\0' };
+unsigned int observatory_assets_archive_len = 0;
+const char* observatory_assets_archive = observatory_assets_archive_;
} // namespace bin
} // namespace dart
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/resources_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698