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 <algorithm> | 8 #include <algorithm> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <map> | 10 #include <map> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/synchronization/lock.h" | 21 #include "base/synchronization/lock.h" |
22 #include "base/threading/thread_checker.h" | 22 #include "base/threading/thread_checker.h" |
23 #include "extensions/common/extension_resource.h" | 23 #include "extensions/common/extension_resource.h" |
24 #include "extensions/common/install_warning.h" | 24 #include "extensions/common/install_warning.h" |
25 #include "extensions/common/manifest.h" | 25 #include "extensions/common/manifest.h" |
26 #include "extensions/common/url_pattern_set.h" | 26 #include "extensions/common/url_pattern_set.h" |
27 #include "ui/base/accelerators/accelerator.h" | 27 #include "ui/base/accelerators/accelerator.h" |
28 #include "ui/gfx/size.h" | 28 #include "ui/gfx/size.h" |
29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
30 | 30 |
31 class ExtensionAction; | |
32 class SkBitmap; | |
33 | |
34 namespace base { | 31 namespace base { |
35 class DictionaryValue; | 32 class DictionaryValue; |
36 class Version; | 33 class Version; |
37 } | 34 } |
38 | 35 |
39 namespace gfx { | |
40 class ImageSkia; | |
41 } | |
42 | |
43 namespace extensions { | 36 namespace extensions { |
44 class PermissionSet; | 37 class PermissionSet; |
45 class PermissionsData; | 38 class PermissionsData; |
46 class PermissionsParser; | 39 class PermissionsParser; |
47 | 40 |
48 // Uniquely identifies an Extension, using 32 characters from the alphabet | 41 // Uniquely identifies an Extension, using 32 characters from the alphabet |
49 // 'a'-'p'. An empty string represents "no extension". | 42 // 'a'-'p'. An empty string represents "no extension". |
50 // | 43 // |
51 // Note: If this gets used heavily in files that don't otherwise need to include | 44 // Note: If this gets used heavily in files that don't otherwise need to include |
52 // extension.h, we should pull it into a dedicated header. | 45 // extension.h, we should pull it into a dedicated header. |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 | 554 |
562 UpdatedExtensionPermissionsInfo( | 555 UpdatedExtensionPermissionsInfo( |
563 const Extension* extension, | 556 const Extension* extension, |
564 const PermissionSet* permissions, | 557 const PermissionSet* permissions, |
565 Reason reason); | 558 Reason reason); |
566 }; | 559 }; |
567 | 560 |
568 } // namespace extensions | 561 } // namespace extensions |
569 | 562 |
570 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 563 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
OLD | NEW |