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

Side by Side Diff: extensions/browser/uninstall_reason.h

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix header file. Created 6 years, 5 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/test_extension_registry_observer.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_BROWSER_UNINSTALL_REASON_H_
6 #define EXTENSIONS_BROWSER_UNINSTALL_REASON_H_
7
8 namespace extensions {
9
10 enum UninstallReason {
11 UNINSTALL_REASON_FOR_TESTING, // Used for testing code only
12 UNINSTALL_REASON_USER_INITIATED, // User performed some UI gesture
13 UNINSTALL_REASON_EXTENSION_DISABLED, // Extension disabled due to error
14 UNINSTALL_REASON_STORAGE_THRESHOLD_EXCEEDED,
15 UNINSTALL_REASON_INSTALL_CANCELED,
16 UNINSTALL_REASON_MANAGEMENT_API,
17 UNINSTALL_REASON_SYNC,
18 UNINSTALL_REASON_ORPHANED_THEME,
19 UNINSTALL_REASON_ORPHANED_EPHEMERAL_EXTENSION,
20 // The entries below imply bypassing checking user has permission to
21 // uninstall the corresponding extension id.
22 UNINSTALL_REASON_ORPHANED_EXTERNAL_EXTENSION,
23 UNINSTALL_REASON_ORPHANED_SHARED_MODULE,
24 UNINSTALL_REASON_INTERNAL_MANAGEMENT // Internal extensions (see usages)
25 };
26
27 } // extensions
28
29 #endif // EXTENSIONS_BROWSER_UNINSTALL_REASON_H_
OLDNEW
« no previous file with comments | « extensions/browser/test_extension_registry_observer.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698