Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: chrome/common/extensions/extension_constants.h

Issue 8198003: Convert app_launch_index and page_index from int to StringOrdinal. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 // The extension id of the bookmark manager. 338 // The extension id of the bookmark manager.
339 extern const char* kBookmarkManagerId; 339 extern const char* kBookmarkManagerId;
340 340
341 // The extension id of the Web Store component application. 341 // The extension id of the Web Store component application.
342 extern const char* kWebStoreAppId; 342 extern const char* kWebStoreAppId;
343 343
344 // The extension id of the Cloud Print component application. 344 // The extension id of the Cloud Print component application.
345 extern const char* kCloudPrintAppId; 345 extern const char* kCloudPrintAppId;
346 346
347 // The string used to specify an unset app_launch_index or
348 // page index value.
349 extern const char* kUnsetIndex;
350
347 // Note: this structure is an ASN.1 which encodes the algorithm used 351 // Note: this structure is an ASN.1 which encodes the algorithm used
348 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). 352 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447).
349 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } 353 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL }
350 const uint8 kSignatureAlgorithm[15] = { 354 const uint8 kSignatureAlgorithm[15] = {
351 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 355 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
352 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 356 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00
353 }; 357 };
354 358
355 // Don't remove items or change the order of this enum. It's used in 359 // Don't remove items or change the order of this enum. It's used in
356 // histograms and preferences. 360 // histograms and preferences.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 }; 461 };
458 462
459 enum UnloadedExtensionReason { 463 enum UnloadedExtensionReason {
460 UNLOAD_REASON_DISABLE, // Extension is being disabled. 464 UNLOAD_REASON_DISABLE, // Extension is being disabled.
461 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. 465 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version.
462 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. 466 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
463 }; 467 };
464 } // extension_misc 468 } // extension_misc
465 469
466 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 470 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698