OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/file_path.h" | 16 #include "base/file_path.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/hash_tables.h" | 18 #include "base/hash_tables.h" |
19 #include "base/memory/linked_ptr.h" | 19 #include "base/memory/linked_ptr.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
21 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
22 #include "base/synchronization/lock.h" | 22 #include "base/synchronization/lock.h" |
| 23 #include "chrome/common/extensions/command.h" |
23 #include "chrome/common/extensions/extension_action.h" | 24 #include "chrome/common/extensions/extension_action.h" |
24 #include "chrome/common/extensions/extension_commands.h" | |
25 #include "chrome/common/extensions/extension_constants.h" | 25 #include "chrome/common/extensions/extension_constants.h" |
26 #include "chrome/common/extensions/extension_icon_set.h" | 26 #include "chrome/common/extensions/extension_icon_set.h" |
27 #include "chrome/common/extensions/extension_permission_set.h" | 27 #include "chrome/common/extensions/extension_permission_set.h" |
28 #include "chrome/common/extensions/user_script.h" | 28 #include "chrome/common/extensions/user_script.h" |
29 #include "chrome/common/extensions/url_pattern.h" | 29 #include "chrome/common/extensions/url_pattern.h" |
30 #include "chrome/common/extensions/url_pattern_set.h" | 30 #include "chrome/common/extensions/url_pattern_set.h" |
31 #include "googleurl/src/gurl.h" | 31 #include "googleurl/src/gurl.h" |
32 #include "ui/base/accelerators/accelerator.h" | 32 #include "ui/base/accelerators/accelerator.h" |
33 #include "ui/gfx/size.h" | 33 #include "ui/gfx/size.h" |
34 | 34 |
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 | 1121 |
1122 UpdatedExtensionPermissionsInfo( | 1122 UpdatedExtensionPermissionsInfo( |
1123 const Extension* extension, | 1123 const Extension* extension, |
1124 const ExtensionPermissionSet* permissions, | 1124 const ExtensionPermissionSet* permissions, |
1125 Reason reason); | 1125 Reason reason); |
1126 }; | 1126 }; |
1127 | 1127 |
1128 } // namespace extensions | 1128 } // namespace extensions |
1129 | 1129 |
1130 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1130 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |