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

Side by Side Diff: Source/bindings/core/dart/DartService.cpp

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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 | « Source/bindings/core/dart/DartService.h ('k') | Source/bindings/core/dart/DartStringCache.h » ('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) 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
3 // BSD-style license that can be found in the LICENSE file.
4
5 #include "config.h"
6
7 #include "bindings/core/dart/DartService.h"
8 #include "bindings/core/dart/DartUtilities.h"
9
10 #include "bin/vmservice_dartium.h"
11
12 namespace blink {
13
14 void DartService::Bootstrap()
15 {
16 dart::bin::VmServiceServer::Bootstrap();
17 }
18
19
20 Dart_Isolate DartService::CreateIsolate()
21 {
22 const uint8_t* snapshotBuffer = DartUtilities::isolateSnapshot();
23 return dart::bin::VmServiceServer::CreateIsolate(snapshotBuffer);
24 }
25
26
27 const char* DartService::GetServerIP()
28 {
29 return dart::bin::VmServiceServer::GetServerIP();
30 }
31
32
33 intptr_t DartService::GetServerPort()
34 {
35 return dart::bin::VmServiceServer::GetServerPort();
36 }
37
38 }
OLDNEW
« no previous file with comments | « Source/bindings/core/dart/DartService.h ('k') | Source/bindings/core/dart/DartStringCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698