| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COMMON_STACK_FRAME_H_ | 5 #ifndef EXTENSIONS_COMMON_STACK_FRAME_H_ |
| 6 #define EXTENSIONS_COMMON_STACK_FRAME_H_ | 6 #define EXTENSIONS_COMMON_STACK_FRAME_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 12 | 14 |
| 13 namespace extensions { | 15 namespace extensions { |
| 14 | 16 |
| 15 struct StackFrame { | 17 struct StackFrame { |
| 16 StackFrame(); | 18 StackFrame(); |
| 17 StackFrame(const StackFrame& frame); | 19 StackFrame(const StackFrame& frame); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 base::string16 source; | 34 base::string16 source; |
| 33 base::string16 function; // optional | 35 base::string16 function; // optional |
| 34 }; | 36 }; |
| 35 | 37 |
| 36 typedef std::vector<StackFrame> StackTrace; | 38 typedef std::vector<StackFrame> StackTrace; |
| 37 | 39 |
| 38 } // namespace extensions | 40 } // namespace extensions |
| 39 | 41 |
| 40 #endif // EXTENSIONS_COMMON_STACK_FRAME_H_ | 42 #endif // EXTENSIONS_COMMON_STACK_FRAME_H_ |
| 41 | 43 |
| OLD | NEW |