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

Unified Diff: trunk/src/extensions/common/constants.h

Issue 225103004: Revert 261654 "Move some extension constants out of //chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/renderer/extensions/extension_helper.cc ('k') | trunk/src/extensions/common/constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/extensions/common/constants.h
===================================================================
--- trunk/src/extensions/common/constants.h (revision 261672)
+++ trunk/src/extensions/common/constants.h (working copy)
@@ -5,7 +5,6 @@
#ifndef EXTENSIONS_COMMON_CONSTANTS_H_
#define EXTENSIONS_COMMON_CONSTANTS_H_
-#include "base/basictypes.h"
#include "base/files/file_path.h"
namespace extensions {
@@ -89,43 +88,4 @@
} // namespace extensions
-namespace extension_misc {
-
-// Matches chrome.windows.WINDOW_ID_NONE.
-const int kUnknownWindowId = -1;
-
-// Matches chrome.windows.WINDOW_ID_CURRENT.
-const int kCurrentWindowId = -2;
-
-// Note: this structure is an ASN.1 which encodes the algorithm used
-// with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447).
-// It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL }
-const uint8 kSignatureAlgorithm[15] = {0x30, 0x0d, 0x06, 0x09, 0x2a,
- 0x86, 0x48, 0x86, 0xf7, 0x0d,
- 0x01, 0x01, 0x05, 0x05, 0x00};
-
-// NOTE: If you change this list, you should also change kExtensionIconSizes
-// in cc file.
-enum ExtensionIcons {
- EXTENSION_ICON_GIGANTOR = 512,
- EXTENSION_ICON_EXTRA_LARGE = 256,
- EXTENSION_ICON_LARGE = 128,
- EXTENSION_ICON_MEDIUM = 48,
- EXTENSION_ICON_SMALL = 32,
- EXTENSION_ICON_SMALLISH = 24,
- EXTENSION_ICON_ACTION = 19,
- EXTENSION_ICON_BITTY = 16,
- EXTENSION_ICON_INVALID = 0,
-};
-
-// List of sizes for extension icons that can be defined in the manifest.
-extern const int kExtensionIconSizes[];
-extern const size_t kNumExtensionIconSizes;
-
-// List of sizes for extension icons that can be defined in the manifest.
-extern const int kExtensionActionIconSizes[];
-extern const size_t kNumExtensionActionIconSizes;
-
-} // namespace extension_misc
-
#endif // EXTENSIONS_COMMON_CONSTANTS_H_
« no previous file with comments | « trunk/src/chrome/renderer/extensions/extension_helper.cc ('k') | trunk/src/extensions/common/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698