OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_EXTENSION_H_ | 5 #ifndef EXTENSIONS_COMMON_EXTENSION_H_ |
6 #define EXTENSIONS_COMMON_EXTENSION_H_ | 6 #define EXTENSIONS_COMMON_EXTENSION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
19 #include "extensions/common/extension_id.h" | 19 #include "extensions/common/extension_id.h" |
20 #include "extensions/common/extension_resource.h" | 20 #include "extensions/common/extension_resource.h" |
21 #include "extensions/common/install_warning.h" | 21 #include "extensions/common/install_warning.h" |
22 #include "extensions/common/manifest.h" | 22 #include "extensions/common/manifest.h" |
23 #include "extensions/common/url_pattern_set.h" | 23 #include "extensions/common/url_pattern_set.h" |
| 24 #include "extensions/features/features.h" |
24 #include "url/gurl.h" | 25 #include "url/gurl.h" |
25 | 26 |
26 #if !defined(ENABLE_EXTENSIONS) | 27 #if !BUILDFLAG(ENABLE_EXTENSIONS) |
27 #error "Extensions must be enabled" | 28 #error "Extensions must be enabled" |
28 #endif | 29 #endif |
29 | 30 |
30 namespace base { | 31 namespace base { |
31 class DictionaryValue; | 32 class DictionaryValue; |
32 class Version; | 33 class Version; |
33 } | 34 } |
34 | 35 |
35 namespace extensions { | 36 namespace extensions { |
36 class PermissionSet; | 37 class PermissionSet; |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 const PermissionSet& permissions; | 559 const PermissionSet& permissions; |
559 | 560 |
560 UpdatedExtensionPermissionsInfo(const Extension* extension, | 561 UpdatedExtensionPermissionsInfo(const Extension* extension, |
561 const PermissionSet& permissions, | 562 const PermissionSet& permissions, |
562 Reason reason); | 563 Reason reason); |
563 }; | 564 }; |
564 | 565 |
565 } // namespace extensions | 566 } // namespace extensions |
566 | 567 |
567 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 568 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
OLD | NEW |