| 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 #include <string> |
| 6 |
| 5 #include "extensions/common/stack_frame.h" | 7 #include "extensions/common/stack_frame.h" |
| 6 | 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 14 |
| 13 using base::UTF8ToUTF16; | 15 using base::UTF8ToUTF16; |
| 14 | 16 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "function_name (https://www.url.com/foo.html:100:201a)"); | 78 "function_name (https://www.url.com/foo.html:100:201a)"); |
| 77 // Negative column number. | 79 // Negative column number. |
| 78 AssertStackFrameInvalid( | 80 AssertStackFrameInvalid( |
| 79 "function_name (https://www.url.com/foo.html:100:-201)"); | 81 "function_name (https://www.url.com/foo.html:100:-201)"); |
| 80 // Extra trailing ')' | 82 // Extra trailing ')' |
| 81 AssertStackFrameInvalid( | 83 AssertStackFrameInvalid( |
| 82 "function_name (https://www.url.com/foo.html:100:201))"); | 84 "function_name (https://www.url.com/foo.html:100:201))"); |
| 83 } | 85 } |
| 84 | 86 |
| 85 } // namespace extensions | 87 } // namespace extensions |
| OLD | NEW |