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

Side by Side Diff: extensions/common/constants.cc

Issue 288273004: A bunch of remaining parts of extension content verification (Reland) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser test Created 6 years, 7 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
« no previous file with comments | « extensions/common/constants.h ('k') | extensions/common/file_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "extensions/common/constants.h" 5 #include "extensions/common/constants.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 10
11 const char kExtensionScheme[] = "chrome-extension"; 11 const char kExtensionScheme[] = "chrome-extension";
12 const char kExtensionResourceScheme[] = "chrome-extension-resource"; 12 const char kExtensionResourceScheme[] = "chrome-extension-resource";
13 13
14 const base::FilePath::CharType kManifestFilename[] = 14 const base::FilePath::CharType kManifestFilename[] =
15 FILE_PATH_LITERAL("manifest.json"); 15 FILE_PATH_LITERAL("manifest.json");
16 const base::FilePath::CharType kLocaleFolder[] = 16 const base::FilePath::CharType kLocaleFolder[] =
17 FILE_PATH_LITERAL("_locales"); 17 FILE_PATH_LITERAL("_locales");
18 const base::FilePath::CharType kMessagesFilename[] = 18 const base::FilePath::CharType kMessagesFilename[] =
19 FILE_PATH_LITERAL("messages.json"); 19 FILE_PATH_LITERAL("messages.json");
20 const base::FilePath::CharType kPlatformSpecificFolder[] = 20 const base::FilePath::CharType kPlatformSpecificFolder[] =
21 FILE_PATH_LITERAL("_platform_specific"); 21 FILE_PATH_LITERAL("_platform_specific");
22 const base::FilePath::CharType kMetadataFolder[] =
23 FILE_PATH_LITERAL("_metadata");
24 const base::FilePath::CharType kVerifiedContentsFilename[] =
25 FILE_PATH_LITERAL("verified_contents.json");
26 const base::FilePath::CharType kComputedHashesFilename[] =
27 FILE_PATH_LITERAL("computed_hashes.json");
22 28
23 const char kInstallDirectoryName[] = "Extensions"; 29 const char kInstallDirectoryName[] = "Extensions";
24 30
25 const char kTempExtensionName[] = "CRX_INSTALL"; 31 const char kTempExtensionName[] = "CRX_INSTALL";
26 32
27 const char kDecodedImagesFilename[] = "DECODED_IMAGES"; 33 const char kDecodedImagesFilename[] = "DECODED_IMAGES";
28 34
29 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; 35 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS";
30 36
31 const char kGeneratedBackgroundPageFilename[] = 37 const char kGeneratedBackgroundPageFilename[] =
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const size_t kNumExtensionIconSizes = arraysize(kExtensionIconSizes); 74 const size_t kNumExtensionIconSizes = arraysize(kExtensionIconSizes);
69 75
70 const int kExtensionActionIconSizes[] = {EXTENSION_ICON_ACTION, // 19, 76 const int kExtensionActionIconSizes[] = {EXTENSION_ICON_ACTION, // 19,
71 2 * EXTENSION_ICON_ACTION // 38 77 2 * EXTENSION_ICON_ACTION // 38
72 }; 78 };
73 79
74 const size_t kNumExtensionActionIconSizes = 80 const size_t kNumExtensionActionIconSizes =
75 arraysize(kExtensionActionIconSizes); 81 arraysize(kExtensionActionIconSizes);
76 82
77 } // namespace extension_misc 83 } // namespace extension_misc
OLDNEW
« no previous file with comments | « extensions/common/constants.h ('k') | extensions/common/file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698