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

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

Issue 829583002: Validate hash_sha256 checksum on .crx update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix histogram value. Created 5 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/switches.h" 5 #include "extensions/common/switches.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Makes component extensions appear in chrome://settings/extensions. 94 // Makes component extensions appear in chrome://settings/extensions.
95 const char kShowComponentExtensionOptions[] = 95 const char kShowComponentExtensionOptions[] =
96 "show-component-extension-options"; 96 "show-component-extension-options";
97 97
98 // Adds the given extension ID to all the permission whitelists. 98 // Adds the given extension ID to all the permission whitelists.
99 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; 99 const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
100 100
101 // Pass launch source to platform apps. 101 // Pass launch source to platform apps.
102 const char kTraceAppSource[] = "enable-trace-app-source"; 102 const char kTraceAppSource[] = "enable-trace-app-source";
103 103
104 // Enable package hash check: the .crx file sha256 hash sum should be equal to
105 // the one received from update manifest.
106 const char kEnableCrxHashCheck[] = "enable-crx-hash-check";
107
104 } // namespace switches 108 } // namespace switches
105 109
106 } // namespace extensions 110 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698