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

Unified Diff: chrome/utility/chrome_content_utility_client.cc

Issue 2079233004: Add the Windows.IsPinnedToTaskbar metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asvitkine comments Created 4 years, 6 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
Index: chrome/utility/chrome_content_utility_client.cc
diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
index c9ef24e4a91e29ef134f5066fdb019deb84001bf..c4947380d11a10889a4a2e84931b516cf4fa92d1 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -38,6 +38,7 @@
#endif
#if defined(OS_WIN)
+#include "chrome/utility/shell_handler_impl_win.h"
#include "chrome/utility/shell_handler_win.h"
#endif
@@ -209,6 +210,9 @@ void ChromeContentUtilityClient::ExposeInterfacesToBrowser(
registry->AddInterface(base::Bind(&CreateImageDecoder));
registry->AddInterface(
base::Bind(&safe_json::SafeJsonParserMojoImpl::Create));
+#if defined(OS_WIN)
+ registry->AddInterface(base::Bind(&ShellHandlerImpl::Create));
+#endif
}
void ChromeContentUtilityClient::AddHandler(

Powered by Google App Engine
This is Rietveld 408576698