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

Unified Diff: base/win_util.h

Issue 399045: Set prop app id for chromium/application shortcut. (Closed)
Patch Set: more for hbono Created 11 years, 1 month 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 | « base/file_util_win.cc ('k') | base/win_util.cc » ('j') | base/win_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win_util.h
diff --git a/base/win_util.h b/base/win_util.h
index 307eddb162c1bbf73a85e11554f3a63b9f97fa33..bc10c38ef863412c649481eb5a2d028a54f08d24 100644
--- a/base/win_util.h
+++ b/base/win_util.h
@@ -7,6 +7,7 @@
#include <windows.h>
#include <aclapi.h>
+#include <shlobj.h>
#include <string>
@@ -110,6 +111,12 @@ std::wstring FormatLastWin32Error();
WORD KeyboardCodeToWin(base::KeyboardCode keycode);
base::KeyboardCode WinToKeyboardCode(WORD keycode);
+// Sets the application id in given IPropertyStore. The function is intended
+// for tagging application/chromium shortcut, browser window and jump list for
+// Win7.
+bool SetAppIdForPropertyStore(IPropertyStore* property_store,
+ const wchar_t* app_id);
+
} // namespace win_util
#endif // BASE_WIN_UTIL_H__
« no previous file with comments | « base/file_util_win.cc ('k') | base/win_util.cc » ('j') | base/win_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698