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

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: Respond to reviewer feedback. 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
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 11dc237ff6ac11a0a3ecb504e53160b8c0f75f57..47ed70e99bddb7ef04f5ab87221d843cbb4812af 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -553,7 +553,13 @@ 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,
+ const std::string& old_name);
};
struct UnloadedExtensionInfo {
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698