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

Side by Side Diff: test/unittests/test-utils.cc

Issue 1265923002: Debugger: move implementation to a separate folder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 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 | « test/mjsunit/es6/debug-function-scopes.js ('k') | tools/gyp/v8.gyp » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project 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 "test/unittests/test-utils.h" 5 #include "test/unittests/test-utils.h"
6 6
7 #include "include/libplatform/libplatform.h" 7 #include "include/libplatform/libplatform.h"
8 #include "src/base/platform/time.h" 8 #include "src/base/platform/time.h"
9 #include "src/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/flags.h" 10 #include "src/flags.h"
11 #include "src/isolate.h" 11 #include "src/isolate.h"
12 #include "src/v8.h" 12 #include "src/v8.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 15
16 class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator { 16 class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
17 public: 17 public:
18 virtual void* Allocate(size_t length) { 18 virtual void* Allocate(size_t length) {
19 void* data = AllocateUninitialized(length); 19 void* data = AllocateUninitialized(length);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 base::RandomNumberGenerator* TestWithIsolate::random_number_generator() const { 100 base::RandomNumberGenerator* TestWithIsolate::random_number_generator() const {
101 return isolate()->random_number_generator(); 101 return isolate()->random_number_generator();
102 } 102 }
103 103
104 104
105 TestWithZone::~TestWithZone() {} 105 TestWithZone::~TestWithZone() {}
106 106
107 } // namespace internal 107 } // namespace internal
108 } // namespace v8 108 } // namespace v8
OLDNEW
« no previous file with comments | « test/mjsunit/es6/debug-function-scopes.js ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698