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

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

Issue 706623004: Add minimum version to extension management (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ext-update-url
Patch Set: WIP Created 6 years, 1 month 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef EXTENSIONS_COMMON_EXTENSION_H_ 5 #ifndef EXTENSIONS_COMMON_EXTENSION_H_
6 #define EXTENSIONS_COMMON_EXTENSION_H_ 6 #define EXTENSIONS_COMMON_EXTENSION_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, 95 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5,
96 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated. 96 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated.
97 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. 97 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated.
98 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify 98 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify
99 // the install. 99 // the install.
100 DISABLE_GREYLIST = 1 << 9, 100 DISABLE_GREYLIST = 1 << 9,
101 DISABLE_CORRUPTED = 1 << 10, 101 DISABLE_CORRUPTED = 1 << 10,
102 DISABLE_REMOTE_INSTALL = 1 << 11, 102 DISABLE_REMOTE_INSTALL = 1 << 11,
103 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are 103 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are
104 // disabled to prevent activity. 104 // disabled to prevent activity.
105 DISABLE_REASON_LAST = 1 << 13, // This should always be the last value 105 DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 13,
106 DISABLE_REASON_LAST = 1 << 14, // This should always be the last value
106 }; 107 };
107 108
108 // A base class for parsed manifest data that APIs want to store on 109 // A base class for parsed manifest data that APIs want to store on
109 // the extension. Related to base::SupportsUserData, but with an immutable 110 // the extension. Related to base::SupportsUserData, but with an immutable
110 // thread-safe interface to match Extension. 111 // thread-safe interface to match Extension.
111 struct ManifestData { 112 struct ManifestData {
112 virtual ~ManifestData() {} 113 virtual ~ManifestData() {}
113 }; 114 };
114 115
115 // Do not change the order of entries or remove entries in this list 116 // Do not change the order of entries or remove entries in this list
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 569
569 UpdatedExtensionPermissionsInfo( 570 UpdatedExtensionPermissionsInfo(
570 const Extension* extension, 571 const Extension* extension,
571 const PermissionSet* permissions, 572 const PermissionSet* permissions,
572 Reason reason); 573 Reason reason);
573 }; 574 };
574 575
575 } // namespace extensions 576 } // namespace extensions
576 577
577 #endif // EXTENSIONS_COMMON_EXTENSION_H_ 578 #endif // EXTENSIONS_COMMON_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698