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/extension.h

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: histogram owner 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/browser/extension_prefs.cc ('k') | tools/metrics/histograms/histograms.xml » ('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) 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 DISABLE_RELOAD = 1 << 2, 94 DISABLE_RELOAD = 1 << 2,
95 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, 95 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3,
96 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, 96 DISABLE_SIDELOAD_WIPEOUT = 1 << 4,
97 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, 97 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5,
98 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment. 98 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment.
99 DISABLE_KNOWN_DISABLED = 1 << 7, 99 DISABLE_KNOWN_DISABLED = 1 << 7,
100 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify 100 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify
101 // the install. 101 // the install.
102 DISABLE_GREYLIST = 1 << 9, 102 DISABLE_GREYLIST = 1 << 9,
103 DISABLE_CORRUPTED = 1 << 10, 103 DISABLE_CORRUPTED = 1 << 10,
104 DISABLE_REMOTE_INSTALL = 1 << 11
104 }; 105 };
105 106
106 enum InstallType { 107 enum InstallType {
107 INSTALL_ERROR, 108 INSTALL_ERROR,
108 DOWNGRADE, 109 DOWNGRADE,
109 REINSTALL, 110 REINSTALL,
110 UPGRADE, 111 UPGRADE,
111 NEW_INSTALL 112 NEW_INSTALL
112 }; 113 };
113 114
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 556
556 UpdatedExtensionPermissionsInfo( 557 UpdatedExtensionPermissionsInfo(
557 const Extension* extension, 558 const Extension* extension,
558 const PermissionSet* permissions, 559 const PermissionSet* permissions,
559 Reason reason); 560 Reason reason);
560 }; 561 };
561 562
562 } // namespace extensions 563 } // namespace extensions
563 564
564 #endif // EXTENSIONS_COMMON_EXTENSION_H_ 565 #endif // EXTENSIONS_COMMON_EXTENSION_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698