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 "extensions/renderer/module_system.h" | 8 #include "extensions/renderer/module_system.h" |
9 #include "extensions/renderer/scoped_persistent.h" | |
10 #include "extensions/renderer/script_context.h" | 9 #include "extensions/renderer/script_context.h" |
11 #include "gin/public/context_holder.h" | 10 #include "gin/public/context_holder.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
14 | 13 |
15 namespace extensions { | 14 namespace extensions { |
16 | 15 |
17 class ModuleSystemTestEnvironment { | 16 class ModuleSystemTestEnvironment { |
18 public: | 17 public: |
19 class AssertNatives; | 18 class AssertNatives; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 scoped_ptr<ModuleSystemTestEnvironment> env_; | 101 scoped_ptr<ModuleSystemTestEnvironment> env_; |
103 bool should_assertions_be_made_; | 102 bool should_assertions_be_made_; |
104 | 103 |
105 private: | 104 private: |
106 DISALLOW_COPY_AND_ASSIGN(ModuleSystemTest); | 105 DISALLOW_COPY_AND_ASSIGN(ModuleSystemTest); |
107 }; | 106 }; |
108 | 107 |
109 } // namespace extensions | 108 } // namespace extensions |
110 | 109 |
111 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ | 110 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ |
OLD | NEW |