summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jumplist.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 18:11:15 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 18:11:15 +0000
commit12f520c53db26ec0dc45f263904d8995e809e800 (patch)
treedefcb2b679cc43a1d0ebb85adcda4f606549883d /chrome/browser/jumplist.h
parenta1ca40db95ac3c0dc8c12c42fe736c800d46c00b (diff)
downloadchromium_src-12f520c53db26ec0dc45f263904d8995e809e800.zip
chromium_src-12f520c53db26ec0dc45f263904d8995e809e800.tar.gz
chromium_src-12f520c53db26ec0dc45f263904d8995e809e800.tar.bz2
Append profile info to win7 app id per issue 30414
Add profile info to app id for non-default profile so that win7 could group chrome icons based on profile. - Add a new chrome/common/win_util.h/cc to hold app id functions that would include profile info for non-default profiles; - Add unit test to the new GetChromiumAppId function; - Browser and JumpList to use the GetChromiumAppId for BrowserWindow and JumpList; - UserDataManager to use it for shortcuts it creates; - Make app id for web apps include profile info as well; - Change web_app::UpdateShortcuts to just update shortcuts description, icon and app id; BUG=30414 TEST=Verify fix for issue 30414. Review URL: http://codereview.chromium.org/506079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jumplist.h')
-rw-r--r--chrome/browser/jumplist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/jumplist.h b/chrome/browser/jumplist.h
index 9f56cca..5ba7e04 100644
--- a/chrome/browser/jumplist.h
+++ b/chrome/browser/jumplist.h
@@ -171,6 +171,9 @@ class JumpList : public TabRestoreService::Observer {
// The Profile object used for listening its events.
Profile* profile_;
+ // App id to associate with the jump list.
+ std::wstring app_id_;
+
// The directory which contains JumpList icons.
FilePath icon_dir_;