OLD | NEW |
---|---|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 }; | 46 }; |
47 | 47 |
48 // An NPAPI plugin included in the extension. | 48 // An NPAPI plugin included in the extension. |
49 struct PluginInfo { | 49 struct PluginInfo { |
50 FilePath path; // Path to the plugin. | 50 FilePath path; // Path to the plugin. |
51 bool is_public; // False if only this extension can load this plugin. | 51 bool is_public; // False if only this extension can load this plugin. |
52 }; | 52 }; |
53 | 53 |
54 // The name of the manifest inside an extension. | 54 // The name of the manifest inside an extension. |
55 static const char kManifestFilename[]; | 55 static const char kManifestFilename[]; |
56 | 56 |
Aaron Boodman
2009/07/30 18:15:12
remove no-op change.
| |
57 | |
57 #if defined(OS_WIN) | 58 #if defined(OS_WIN) |
58 static const char* kExtensionRegistryPath; | 59 static const char* kExtensionRegistryPath; |
59 #endif | 60 #endif |
60 | 61 |
61 // The number of bytes in a legal id. | 62 // The number of bytes in a legal id. |
62 static const size_t kIdSize; | 63 static const size_t kIdSize; |
63 | 64 |
64 Extension() : location_(INVALID), is_theme_(false) {} | 65 Extension() : location_(INVALID), is_theme_(false) {} |
65 explicit Extension(const FilePath& path); | 66 explicit Extension(const FilePath& path); |
66 virtual ~Extension(); | 67 virtual ~Extension(); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
260 | 261 |
261 // URL for fetching an update manifest | 262 // URL for fetching an update manifest |
262 GURL update_url_; | 263 GURL update_url_; |
263 | 264 |
264 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); | 265 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); |
265 | 266 |
266 DISALLOW_COPY_AND_ASSIGN(Extension); | 267 DISALLOW_COPY_AND_ASSIGN(Extension); |
267 }; | 268 }; |
268 | 269 |
269 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 270 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |