OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ | 5 #ifndef EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ |
6 #define EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ | 6 #define EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "extensions/renderer/module_system.h" | 9 #include "extensions/renderer/module_system.h" |
9 #include "extensions/renderer/script_context.h" | 10 #include "extensions/renderer/script_context.h" |
10 #include "gin/public/context_holder.h" | 11 #include "gin/public/context_holder.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
12 #include "v8/include/v8.h" | 13 #include "v8/include/v8.h" |
13 | 14 |
14 namespace extensions { | 15 namespace extensions { |
15 | 16 |
16 class ModuleSystemTestEnvironment { | 17 class ModuleSystemTestEnvironment { |
17 public: | 18 public: |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 scoped_ptr<ModuleSystemTestEnvironment> env_; | 102 scoped_ptr<ModuleSystemTestEnvironment> env_; |
102 bool should_assertions_be_made_; | 103 bool should_assertions_be_made_; |
103 | 104 |
104 private: | 105 private: |
105 DISALLOW_COPY_AND_ASSIGN(ModuleSystemTest); | 106 DISALLOW_COPY_AND_ASSIGN(ModuleSystemTest); |
106 }; | 107 }; |
107 | 108 |
108 } // namespace extensions | 109 } // namespace extensions |
109 | 110 |
110 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ | 111 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ |
OLD | NEW |