summaryrefslogtreecommitdiffstats
path: root/base/win_util.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-13 23:53:48 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-13 23:53:48 +0000
commitc9bb06f4cee992d31f97ee893663a476d4efba0c (patch)
tree47bd85ad04594bfb9f1f3399b1de68e5500fd77c /base/win_util.h
parent3d59e8c708383943f572e11e5d833c3d6b10a81b (diff)
downloadchromium_src-c9bb06f4cee992d31f97ee893663a476d4efba0c.zip
chromium_src-c9bb06f4cee992d31f97ee893663a476d4efba0c.tar.gz
chromium_src-c9bb06f4cee992d31f97ee893663a476d4efba0c.tar.bz2
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
Diffstat (limited to 'base/win_util.h')
-rw-r--r--base/win_util.h5
1 files changed, 5 insertions, 0 deletions
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.
+// <http://msdn.microsoft.com/en-us/library/dd391569(VS.85).aspx>
+// TODO(xiyuan): Remove this once we compile with Win7 SDK.
+extern const PROPERTYKEY kPKEYAppUserModelID;
+
void GetNonClientMetrics(NONCLIENTMETRICS* metrics);
// Returns the running version of Windows.