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

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

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 #include "extensions/common/extension.h" 5 #include "extensions/common/extension.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 is_update(is_update), 766 is_update(is_update),
767 from_ephemeral(from_ephemeral), 767 from_ephemeral(from_ephemeral),
768 old_name(old_name) {} 768 old_name(old_name) {}
769 769
770 UnloadedExtensionInfo::UnloadedExtensionInfo( 770 UnloadedExtensionInfo::UnloadedExtensionInfo(
771 const Extension* extension, 771 const Extension* extension,
772 UnloadedExtensionInfo::Reason reason) 772 UnloadedExtensionInfo::Reason reason)
773 : reason(reason), 773 : reason(reason),
774 extension(extension) {} 774 extension(extension) {}
775 775
776 UninstalledExtensionInfo::UninstalledExtensionInfo(
777 const Extension* extension,
778 UninstalledExtensionInfo::Reason reason)
779 : reason(reason), extension(extension) {
780 }
781
776 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo( 782 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo(
777 const Extension* extension, 783 const Extension* extension,
778 const PermissionSet* permissions, 784 const PermissionSet* permissions,
779 Reason reason) 785 Reason reason)
780 : reason(reason), 786 : reason(reason),
781 extension(extension), 787 extension(extension),
782 permissions(permissions) {} 788 permissions(permissions) {}
783 789
784 } // namespace extensions 790 } // namespace extensions
OLDNEW
« chrome/browser/ui/app_list/extension_uninstaller.cc ('K') | « extensions/common/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698