From c9bb06f4cee992d31f97ee893663a476d4efba0c Mon Sep 17 00:00:00 2001 From: "xiyuan@chromium.org" Date: Wed, 13 Jan 2010 23:53:48 +0000 Subject: Ensure existing user pinned chrome shortcuts have correct app id. On Win7, check if user has pinned chrome shortcuts and ensure they have correct app id. BUG=28104 TEST=On Win7, install chrome prior 4.0.266.0 and pin chrome shortcut (browser with default profile, browser with non-default profile, web apps etc). Then update to a version with this fix. After update, running chrome should not have duplicate icon spawned. Review URL: http://codereview.chromium.org/548008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36193 0039d316-1c4b-4281-b951-d872f2087c98 --- base/win_util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'base/win_util.h') diff --git a/base/win_util.h b/base/win_util.h index bc10c38..ca550cf 100644 --- a/base/win_util.h +++ b/base/win_util.h @@ -28,6 +28,11 @@ enum WinVersion { WINVERSION_WIN7 = 6, }; +// Property key for System.AppUserModel.ID. +// +// TODO(xiyuan): Remove this once we compile with Win7 SDK. +extern const PROPERTYKEY kPKEYAppUserModelID; + void GetNonClientMetrics(NONCLIENTMETRICS* metrics); // Returns the running version of Windows. -- cgit v1.1