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

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

Issue 2336403002: Fix extension content verification out-of-band hash fetching (Closed)
Patch Set: review feedback Created 4 years, 3 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
« no previous file with comments | « extensions/browser/content_verifier.cc ('k') | extensions/common/constants.cc » ('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 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ 6 #define EXTENSIONS_COMMON_CONSTANTS_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "ui/base/layout.h" 9 #include "ui/base/layout.h"
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // The URL query parameter key corresponding to multi-login user index. 100 // The URL query parameter key corresponding to multi-login user index.
101 extern const char kAuthUserQueryKey[]; 101 extern const char kAuthUserQueryKey[];
102 102
103 // Mime type strings 103 // Mime type strings
104 extern const char kMimeTypeJpeg[]; 104 extern const char kMimeTypeJpeg[];
105 extern const char kMimeTypePng[]; 105 extern const char kMimeTypePng[];
106 106
107 // The extension id of the Web Store component application. 107 // The extension id of the Web Store component application.
108 extern const char kWebStoreAppId[]; 108 extern const char kWebStoreAppId[];
109 109
110 // The key used for signing some pieces of data from the webstore.
111 extern const uint8_t kWebstoreSignaturesPublicKey[];
112 extern const int kWebstoreSignaturesPublicKeySize;
113
110 // Enumeration of possible app launch sources. 114 // Enumeration of possible app launch sources.
111 // Note the enumeration is used in UMA histogram so entries 115 // Note the enumeration is used in UMA histogram so entries
112 // should not be re-ordered or removed. 116 // should not be re-ordered or removed.
113 enum AppLaunchSource { 117 enum AppLaunchSource {
114 SOURCE_UNTRACKED = 0, 118 SOURCE_UNTRACKED = 0,
115 SOURCE_APP_LAUNCHER, 119 SOURCE_APP_LAUNCHER,
116 SOURCE_NEW_TAB_PAGE, 120 SOURCE_NEW_TAB_PAGE,
117 SOURCE_RELOAD, 121 SOURCE_RELOAD,
118 SOURCE_RESTART, 122 SOURCE_RESTART,
119 SOURCE_LOAD_AND_LAUNCH, 123 SOURCE_LOAD_AND_LAUNCH,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 214
211 // The extension id for the production version of Hangouts. 215 // The extension id for the production version of Hangouts.
212 extern const char kProdHangoutsExtensionId[]; 216 extern const char kProdHangoutsExtensionId[];
213 217
214 // Extension ids used by Hangouts. 218 // Extension ids used by Hangouts.
215 extern const char* const kHangoutsExtensionIds[6]; 219 extern const char* const kHangoutsExtensionIds[6];
216 220
217 } // namespace extension_misc 221 } // namespace extension_misc
218 222
219 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 223 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « extensions/browser/content_verifier.cc ('k') | extensions/common/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698