| 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_LAST_ERROR_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_LAST_ERROR_H_ |
| 6 #define EXTENSIONS_RENDERER_API_LAST_ERROR_H_ | 6 #define EXTENSIONS_RENDERER_BINDINGS_API_LAST_ERROR_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 // Handles creating and clearing a 'lastError' property to hold the last error | 16 // Handles creating and clearing a 'lastError' property to hold the last error |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 private: | 43 private: |
| 44 GetParent get_parent_; | 44 GetParent get_parent_; |
| 45 | 45 |
| 46 AddConsoleError add_console_error_; | 46 AddConsoleError add_console_error_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(APILastError); | 48 DISALLOW_COPY_AND_ASSIGN(APILastError); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace extensions | 51 } // namespace extensions |
| 52 | 52 |
| 53 #endif // EXTENSIONS_RENDERER_API_LAST_ERROR_H_ | 53 #endif // EXTENSIONS_RENDERER_BINDINGS_API_LAST_ERROR_H_ |
| OLD | NEW |