OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
17 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
18 #include "chrome/common/extensions/extension_constants.h" | 18 #include "chrome/common/extensions/extension_constants.h" |
19 #include "chrome/common/extensions/extension_extent.h" | 19 #include "chrome/common/extensions/extension_extent.h" |
20 #include "chrome/common/extensions/extension_icon_set.h" | 20 #include "chrome/common/extensions/extension_icon_set.h" |
21 #include "chrome/common/extensions/user_script.h" | 21 #include "chrome/common/extensions/user_script.h" |
22 #include "chrome/common/extensions/url_pattern.h" | 22 #include "chrome/common/extensions/url_pattern.h" |
23 #include "gfx/size.h" | |
24 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
| 24 #include "ui/gfx/size.h" |
25 | 25 |
26 class DictionaryValue; | 26 class DictionaryValue; |
27 class ExtensionAction; | 27 class ExtensionAction; |
28 class ExtensionResource; | 28 class ExtensionResource; |
29 class ExtensionSidebarDefaults; | 29 class ExtensionSidebarDefaults; |
30 class SkBitmap; | 30 class SkBitmap; |
31 class Version; | 31 class Version; |
32 | 32 |
33 // Represents a Chrome extension. | 33 // Represents a Chrome extension. |
34 class Extension : public base::RefCountedThreadSafe<Extension> { | 34 class Extension : public base::RefCountedThreadSafe<Extension> { |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 // Was the extension already disabled? | 772 // Was the extension already disabled? |
773 bool already_disabled; | 773 bool already_disabled; |
774 | 774 |
775 // The extension being unloaded - this should always be non-NULL. | 775 // The extension being unloaded - this should always be non-NULL. |
776 const Extension* extension; | 776 const Extension* extension; |
777 | 777 |
778 UnloadedExtensionInfo(const Extension* extension, Reason reason); | 778 UnloadedExtensionInfo(const Extension* extension, Reason reason); |
779 }; | 779 }; |
780 | 780 |
781 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 781 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |