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_BROWSER_EXTENSION_ERROR_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_ERROR_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSION_ERROR_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_ERROR_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/macros.h" |
13 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
14 #include "extensions/common/stack_frame.h" | 17 #include "extensions/common/stack_frame.h" |
15 #include "url/gurl.h" | 18 #include "url/gurl.h" |
16 | 19 |
17 namespace extensions { | 20 namespace extensions { |
18 | 21 |
19 class ExtensionError { | 22 class ExtensionError { |
20 public: | 23 public: |
21 enum Type { | 24 enum Type { |
22 MANIFEST_ERROR = 0, | 25 MANIFEST_ERROR = 0, |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 156 |
154 private: | 157 private: |
155 bool IsEqualImpl(const ExtensionError* rhs) const override; | 158 bool IsEqualImpl(const ExtensionError* rhs) const override; |
156 | 159 |
157 DISALLOW_COPY_AND_ASSIGN(InternalError); | 160 DISALLOW_COPY_AND_ASSIGN(InternalError); |
158 }; | 161 }; |
159 | 162 |
160 } // namespace extensions | 163 } // namespace extensions |
161 | 164 |
162 #endif // EXTENSIONS_BROWSER_EXTENSION_ERROR_H_ | 165 #endif // EXTENSIONS_BROWSER_EXTENSION_ERROR_H_ |
OLD | NEW |