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

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: Constexpr TimeDelta Created 4 years, 5 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
« no previous file with comments | « chrome/utility/DEPS ('k') | chrome/utility/ipc_shell_handler_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..78038e406a614901ef5e90981d1450f1ada1d0e1 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -38,7 +38,8 @@
#endif
#if defined(OS_WIN)
-#include "chrome/utility/shell_handler_win.h"
+#include "chrome/utility/ipc_shell_handler_win.h"
+#include "chrome/utility/shell_handler_impl_win.h"
#endif
#if defined(ENABLE_EXTENSIONS)
@@ -127,7 +128,7 @@ ChromeContentUtilityClient::ChromeContentUtilityClient()
#endif
#if defined(OS_WIN)
- handlers_.push_back(new ShellHandler());
+ handlers_.push_back(new IPCShellHandler());
#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(
« no previous file with comments | « chrome/utility/DEPS ('k') | chrome/utility/ipc_shell_handler_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698