| 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_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 namespace extension_misc { | 342 namespace extension_misc { |
| 343 // Matches chrome.windows.WINDOW_ID_NONE. | 343 // Matches chrome.windows.WINDOW_ID_NONE. |
| 344 const int kUnknownWindowId = -1; | 344 const int kUnknownWindowId = -1; |
| 345 | 345 |
| 346 // Matches chrome.windows.WINDOW_ID_CURRENT. | 346 // Matches chrome.windows.WINDOW_ID_CURRENT. |
| 347 const int kCurrentWindowId = -2; | 347 const int kCurrentWindowId = -2; |
| 348 | 348 |
| 349 // The extension id of the bookmark manager. | 349 // The extension id of the bookmark manager. |
| 350 extern const char kBookmarkManagerId[]; | 350 extern const char kBookmarkManagerId[]; |
| 351 | 351 |
| 352 // The extension id of the Enterprise Web Store component application. |
| 353 extern const char kEnterpriseWebStoreAppId[]; |
| 354 |
| 352 // The extension id of the Web Store component application. | 355 // The extension id of the Web Store component application. |
| 353 extern const char kWebStoreAppId[]; | 356 extern const char kWebStoreAppId[]; |
| 354 | 357 |
| 355 // The extension id of the Cloud Print component application. | 358 // The extension id of the Cloud Print component application. |
| 356 extern const char kCloudPrintAppId[]; | 359 extern const char kCloudPrintAppId[]; |
| 357 | 360 |
| 358 // Note: this structure is an ASN.1 which encodes the algorithm used | 361 // Note: this structure is an ASN.1 which encodes the algorithm used |
| 359 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 362 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
| 360 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 363 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 361 const uint8 kSignatureAlgorithm[15] = { | 364 const uint8 kSignatureAlgorithm[15] = { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 | 476 |
| 474 enum UnloadedExtensionReason { | 477 enum UnloadedExtensionReason { |
| 475 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 478 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
| 476 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 479 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
| 477 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 480 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 478 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 481 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 479 }; | 482 }; |
| 480 } // extension_misc | 483 } // extension_misc |
| 481 | 484 |
| 482 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 485 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |