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

Unified Diff: chrome/common/extensions/extension.h

Issue 14993013: Windows: When an app is updated and its name changes, recreate shortcuts. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to HEAD. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 7f056208d176889739083394a943e6f22d2a75ac..4659e460950a5f6c66033b7b4fac2a0d4665f238 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -673,7 +673,12 @@ struct InstalledExtensionInfo {
// True if the extension is being updated; false if it is being installed.
bool is_update;
- InstalledExtensionInfo(const Extension* extension, bool is_update);
+ // The name of the extension prior to this update. Will be empty if
+ // |is_update| is false.
+ std::string old_name;
+
+ InstalledExtensionInfo(const Extension* extension, bool is_update,
benwells 2013/05/16 04:30:59 nit: one parameter per line.
+ const std::string& old_name);
};
struct UnloadedExtensionInfo {

Powered by Google App Engine
This is Rietveld 408576698