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

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 14238037: Made it possible to tell whether an extension is being installed or updated. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added extra check. Created 7 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // details are an Extension*, and the source is a Profile*. 490 // details are an Extension*, and the source is a Profile*.
491 NOTIFICATION_EXTENSION_UPDATE_DISABLED, 491 NOTIFICATION_EXTENSION_UPDATE_DISABLED,
492 492
493 // Sent when an extension's permissions change. The details are an 493 // Sent when an extension's permissions change. The details are an
494 // UpdatedExtensionPermissionsInfo, and the source is a Profile. 494 // UpdatedExtensionPermissionsInfo, and the source is a Profile.
495 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, 495 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED,
496 496
497 // Sent when an extension install turns out to not be a theme. 497 // Sent when an extension install turns out to not be a theme.
498 NOTIFICATION_NO_THEME_DETECTED, 498 NOTIFICATION_NO_THEME_DETECTED,
499 499
500 // Sent when new extensions are installed. The details are an Extension, and 500 // Sent when new extensions are installed, or existing extensions are updated.
501 // the source is a Profile. 501 // The details are an InstalledExtensionInfo, and the source is a Profile.
502 NOTIFICATION_EXTENSION_INSTALLED, 502 NOTIFICATION_EXTENSION_INSTALLED,
503 503
504 // An error occured during extension install. The details are a string with 504 // An error occured during extension install. The details are a string with
505 // details about why the install failed. 505 // details about why the install failed.
506 NOTIFICATION_EXTENSION_INSTALL_ERROR, 506 NOTIFICATION_EXTENSION_INSTALL_ERROR,
507 507
508 // Sent when an extension install is not allowed, as indicated by 508 // Sent when an extension install is not allowed, as indicated by
509 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, 509 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension,
510 // and the source is a Profile. 510 // and the source is a Profile.
511 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, 511 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED,
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
1228 // Note:- 1228 // Note:-
1229 // Currently only Content and Chrome define and use notifications. 1229 // Currently only Content and Chrome define and use notifications.
1230 // Custom notifications not belonging to Content and Chrome should start 1230 // Custom notifications not belonging to Content and Chrome should start
1231 // from here. 1231 // from here.
1232 NOTIFICATION_CHROME_END, 1232 NOTIFICATION_CHROME_END,
1233 }; 1233 };
1234 1234
1235 } // namespace chrome 1235 } // namespace chrome
1236 1236
1237 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1237 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698