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

Side by Side Diff: mojo/dart/embedder/snapshotter/vm.cc

Issue 1545483003: Dart: Reorganize files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix build file Created 4 years, 12 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 | « mojo/dart/embedder/snapshotter/vm.h ('k') | mojo/dart/embedder/test/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/dart/dart_snapshotter/vm.h" 5 #include "mojo/dart/embedder/snapshotter/vm.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "tonic/dart_error.h" 8 #include "tonic/dart_error.h"
9 #include "tonic/dart_state.h" 9 #include "tonic/dart_state.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace dart { 12 namespace dart {
13 extern const uint8_t* vm_isolate_snapshot_buffer; 13 extern const uint8_t* vm_isolate_snapshot_buffer;
14 extern const uint8_t* isolate_snapshot_buffer; 14 extern const uint8_t* isolate_snapshot_buffer;
15 } 15 }
(...skipping 19 matching lines...) Expand all
35 "main", 35 "main",
36 mojo::dart::isolate_snapshot_buffer, 36 mojo::dart::isolate_snapshot_buffer,
37 nullptr, 37 nullptr,
38 isolate_data, 38 isolate_data,
39 &error); 39 &error);
40 CHECK(isolate) << error; 40 CHECK(isolate) << error;
41 Dart_ExitIsolate(); 41 Dart_ExitIsolate();
42 isolate_data->SetIsolate(isolate); 42 isolate_data->SetIsolate(isolate);
43 return isolate; 43 return isolate;
44 } 44 }
OLDNEW
« no previous file with comments | « mojo/dart/embedder/snapshotter/vm.h ('k') | mojo/dart/embedder/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698