| 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_BINDING_ACCESS_CHECKER_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_BINDING_ACCESS_CHECKER_H_ |
| 6 #define EXTENSIONS_RENDERER_BINDING_ACCESS_CHECKER_H_ | 6 #define EXTENSIONS_RENDERER_BINDINGS_BINDING_ACCESS_CHECKER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
| 13 | 13 |
| 14 namespace extensions { | 14 namespace extensions { |
| 15 | 15 |
| 16 // A helper class to handle access-checking API features. | 16 // A helper class to handle access-checking API features. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 const std::string& full_name) const; | 35 const std::string& full_name) const; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 AvailabilityCallback is_available_; | 38 AvailabilityCallback is_available_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(BindingAccessChecker); | 40 DISALLOW_COPY_AND_ASSIGN(BindingAccessChecker); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace extensions | 43 } // namespace extensions |
| 44 | 44 |
| 45 #endif // EXTENSIONS_RENDERER_BINDING_ACCESS_CHECKER_H_ | 45 #endif // EXTENSIONS_RENDERER_BINDINGS_BINDING_ACCESS_CHECKER_H_ |
| OLD | NEW |