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

Side by Side Diff: runtime/vm/service_isolate.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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/vm/service_event.h ('k') | runtime/vm/service_isolate.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 RUNTIME_VM_SERVICE_ISOLATE_H_ 5 #ifndef RUNTIME_VM_SERVICE_ISOLATE_H_
6 #define RUNTIME_VM_SERVICE_ISOLATE_H_ 6 #define RUNTIME_VM_SERVICE_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 25 matching lines...) Expand all
36 static void Shutdown(); 36 static void Shutdown();
37 37
38 static void BootVmServiceLibrary(); 38 static void BootVmServiceLibrary();
39 39
40 static void RequestServerInfo(const SendPort& sp); 40 static void RequestServerInfo(const SendPort& sp);
41 static void ControlWebServer(const SendPort& sp, bool enable); 41 static void ControlWebServer(const SendPort& sp, bool enable);
42 42
43 static void SetServerAddress(const char* address); 43 static void SetServerAddress(const char* address);
44 44
45 // Returns the server's web address or NULL if none is running. 45 // Returns the server's web address or NULL if none is running.
46 static const char* server_address() { 46 static const char* server_address() { return server_address_; }
47 return server_address_;
48 }
49 47
50 static void VisitObjectPointers(ObjectPointerVisitor* visitor); 48 static void VisitObjectPointers(ObjectPointerVisitor* visitor);
51 49
52 private: 50 private:
53 static void KillServiceIsolate(); 51 static void KillServiceIsolate();
54 52
55 protected: 53 protected:
56 static void SetServicePort(Dart_Port port); 54 static void SetServicePort(Dart_Port port);
57 static void SetServiceIsolate(Isolate* isolate); 55 static void SetServiceIsolate(Isolate* isolate);
58 static void SetLoadPort(Dart_Port port); 56 static void SetLoadPort(Dart_Port port);
(...skipping 18 matching lines...) Expand all
77 static char* server_address_; 75 static char* server_address_;
78 76
79 friend class Dart; 77 friend class Dart;
80 friend class RunServiceTask; 78 friend class RunServiceTask;
81 friend class ServiceIsolateNatives; 79 friend class ServiceIsolateNatives;
82 }; 80 };
83 81
84 } // namespace dart 82 } // namespace dart
85 83
86 #endif // RUNTIME_VM_SERVICE_ISOLATE_H_ 84 #endif // RUNTIME_VM_SERVICE_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/service_event.h ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698