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

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

Issue 1536003002: VM: Remove non-existent/unused functions from precompiled entry points. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « runtime/bin/main.cc ('k') | runtime/bin/vmservice_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_VMSERVICE_IMPL_H_ 5 #ifndef BIN_VMSERVICE_IMPL_H_
6 #define BIN_VMSERVICE_IMPL_H_ 6 #define BIN_VMSERVICE_IMPL_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "platform/globals.h" 10 #include "platform/globals.h"
(...skipping 17 matching lines...) Expand all
28 return &server_ip_[0]; 28 return &server_ip_[0];
29 } 29 }
30 30
31 // HTTP server's port. 31 // HTTP server's port.
32 static intptr_t GetServerPort() { 32 static intptr_t GetServerPort() {
33 return server_port_; 33 return server_port_;
34 } 34 }
35 35
36 private: 36 private:
37 static const intptr_t kServerIpStringBufferSize = 256; 37 static const intptr_t kServerIpStringBufferSize = 256;
38 friend void TriggerResourceLoad(Dart_NativeArguments args);
39 friend void NotifyServerState(Dart_NativeArguments args); 38 friend void NotifyServerState(Dart_NativeArguments args);
40 39
41 static void SetServerIPAndPort(const char* ip, intptr_t port); 40 static void SetServerIPAndPort(const char* ip, intptr_t port);
42 static Dart_Handle GetSource(const char* name); 41 static Dart_Handle GetSource(const char* name);
43 static Dart_Handle LoadScript(const char* name); 42 static Dart_Handle LoadScript(const char* name);
44 static Dart_Handle LoadLibrary(const char* name); 43 static Dart_Handle LoadLibrary(const char* name);
45 static Dart_Handle LoadSource(Dart_Handle library, const char* name); 44 static Dart_Handle LoadSource(Dart_Handle library, const char* name);
46 static Dart_Handle LoadResources(Dart_Handle library); 45 static Dart_Handle LoadResources(Dart_Handle library);
47 static Dart_Handle LoadResource(Dart_Handle library, const char* name); 46 static Dart_Handle LoadResource(Dart_Handle library, const char* name);
48 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library, 47 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library,
49 Dart_Handle url); 48 Dart_Handle url);
50 49
51 static const char* error_msg_; 50 static const char* error_msg_;
52 static char server_ip_[kServerIpStringBufferSize]; 51 static char server_ip_[kServerIpStringBufferSize];
53 static intptr_t server_port_; 52 static intptr_t server_port_;
54 53
55 DISALLOW_ALLOCATION(); 54 DISALLOW_ALLOCATION();
56 DISALLOW_IMPLICIT_CONSTRUCTORS(VmService); 55 DISALLOW_IMPLICIT_CONSTRUCTORS(VmService);
57 }; 56 };
58 57
59 58
60 } // namespace bin 59 } // namespace bin
61 } // namespace dart 60 } // namespace dart
62 61
63 #endif // BIN_VMSERVICE_IMPL_H_ 62 #endif // BIN_VMSERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/vmservice_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698