| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_API_BINDINGS_SYSTEM_UNITTEST_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_UNITTEST_H_ |
| 6 #define EXTENSIONS_RENDERER_API_BINDINGS_SYSTEM_UNITTEST_H_ | 6 #define EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_UNITTEST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "extensions/renderer/api_binding_test.h" | 13 #include "extensions/renderer/bindings/api_binding_test.h" |
| 14 #include "extensions/renderer/api_binding_types.h" | 14 #include "extensions/renderer/bindings/api_binding_types.h" |
| 15 #include "extensions/renderer/api_request_handler.h" | 15 #include "extensions/renderer/bindings/api_request_handler.h" |
| 16 #include "v8/include/v8.h" | 16 #include "v8/include/v8.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace extensions { | 22 namespace extensions { |
| 23 class APIBindingsSystem; | 23 class APIBindingsSystem; |
| 24 | 24 |
| 25 // The base class to test the APIBindingsSystem. This allows subclasses to | 25 // The base class to test the APIBindingsSystem. This allows subclasses to |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 // The last request to be received from the APIBindingsSystem, or null if | 95 // The last request to be received from the APIBindingsSystem, or null if |
| 96 // there is none. | 96 // there is none. |
| 97 std::unique_ptr<APIRequestHandler::Request> last_request_; | 97 std::unique_ptr<APIRequestHandler::Request> last_request_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(APIBindingsSystemTest); | 99 DISALLOW_COPY_AND_ASSIGN(APIBindingsSystemTest); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace extensions | 102 } // namespace extensions |
| 103 | 103 |
| 104 #endif // EXTENSIONS_RENDERER_API_BINDINGS_SYSTEM_UNITTEST_H_ | 104 #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_UNITTEST_H_ |
| OLD | NEW |