| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_TEST_V8_UNIT_TEST_H_ | 5 #ifndef CHROME_TEST_BASE_V8_UNIT_TEST_H_ |
| 6 #define CHROME_TEST_V8_UNIT_TEST_H_ | 6 #define CHROME_TEST_BASE_V8_UNIT_TEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class StringPiece; | 15 class StringPiece; |
| 16 } | 16 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // information to the console. | 49 // information to the console. |
| 50 static v8::Handle<v8::Value> Log(const v8::Arguments& args); | 50 static v8::Handle<v8::Value> Log(const v8::Arguments& args); |
| 51 | 51 |
| 52 // Handle scope that is used throughout the life of this class. | 52 // Handle scope that is used throughout the life of this class. |
| 53 v8::HandleScope handle_scope_; | 53 v8::HandleScope handle_scope_; |
| 54 | 54 |
| 55 // Context for the JavaScript in the test. | 55 // Context for the JavaScript in the test. |
| 56 v8::Handle<v8::Context> context_; | 56 v8::Handle<v8::Context> context_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 #endif // CHROME_TEST_V8_UNIT_TEST_H_ | 59 #endif // CHROME_TEST_BASE_V8_UNIT_TEST_H_ |
| OLD | NEW |