OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 // What causes an extension to be installed? Used in histograms, so don't | 403 // What causes an extension to be installed? Used in histograms, so don't |
404 // change existing values. | 404 // change existing values. |
405 enum CrxInstallCause { | 405 enum CrxInstallCause { |
406 INSTALL_CAUSE_UNSET = 0, | 406 INSTALL_CAUSE_UNSET = 0, |
407 INSTALL_CAUSE_USER_DOWNLOAD, | 407 INSTALL_CAUSE_USER_DOWNLOAD, |
408 INSTALL_CAUSE_UPDATE, | 408 INSTALL_CAUSE_UPDATE, |
409 INSTALL_CAUSE_EXTERNAL_FILE, | 409 INSTALL_CAUSE_EXTERNAL_FILE, |
410 INSTALL_CAUSE_AUTOMATION, | 410 INSTALL_CAUSE_AUTOMATION, |
411 NUM_INSTALL_CAUSES | 411 NUM_INSTALL_CAUSES |
412 }; | 412 }; |
| 413 |
| 414 enum UnloadedExtensionReason { |
| 415 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
| 416 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
| 417 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 418 }; |
413 } // extension_misc | 419 } // extension_misc |
414 | 420 |
415 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 421 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |