| 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> |
| 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/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
| 17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
| 18 #include "base/memory/linked_ptr.h" | 18 #include "base/memory/linked_ptr.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
| 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/geometry/size.h" |
| 29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
| 30 | 30 |
| 31 #if !defined(ENABLE_EXTENSIONS) | 31 #if !defined(ENABLE_EXTENSIONS) |
| 32 #error "Extensions must be enabled" | 32 #error "Extensions must be enabled" |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 namespace base { | 35 namespace base { |
| 36 class DictionaryValue; | 36 class DictionaryValue; |
| 37 class Version; | 37 class Version; |
| 38 } | 38 } |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 | 578 |
| 579 UpdatedExtensionPermissionsInfo( | 579 UpdatedExtensionPermissionsInfo( |
| 580 const Extension* extension, | 580 const Extension* extension, |
| 581 const PermissionSet* permissions, | 581 const PermissionSet* permissions, |
| 582 Reason reason); | 582 Reason reason); |
| 583 }; | 583 }; |
| 584 | 584 |
| 585 } // namespace extensions | 585 } // namespace extensions |
| 586 | 586 |
| 587 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 587 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
| OLD | NEW |