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

Side by Side Diff: runtime/bin/vmservice_dartium.h

Issue 2985183002: [vm] Remove Dartium's vm-service implementation. (Closed)
Patch Set: Created 3 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 #ifndef RUNTIME_BIN_VMSERVICE_DARTIUM_H_
6 #define RUNTIME_BIN_VMSERVICE_DARTIUM_H_
7
8 /* In order to avoid conflicts / issues with blink, no headers are included */
9
10 #include <dart_api.h>
11 #include <cstddef>
12
13 namespace dart {
14 namespace bin {
15
16 class VmServiceServer {
17 public:
18 static void Bootstrap();
19 static Dart_Isolate CreateIsolate(const uint8_t* snapshot_buffer);
20
21 static const char* GetServerAddress();
22
23 static void DecompressAssets(const uint8_t* input,
24 unsigned int input_len,
25 uint8_t** output,
26 unsigned int* output_length);
27
28 /* DISALLOW_ALLOCATION */
29 void operator delete(void* pointer);
30
31 private:
32 void* operator new(size_t size);
33
34 /* DISALLOW_IMPLICIT_CONSTRUCTORS */
35 VmServiceServer();
36 VmServiceServer(const VmServiceServer&);
37 void operator=(const VmServiceServer&);
38 };
39
40 } // namespace bin
41 } // namespace dart
42
43 #endif // RUNTIME_BIN_VMSERVICE_DARTIUM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698