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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc

Issue 2179353004: Update Windows It2Me to allow remote users to interact with elevated windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@it2me_uiaccess
Patch Set: Removing the CHECK assertion and replacing it with LOG(ERROR) instead. Created 4 years, 3 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 | « no previous file | remoting/host/android/jni_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc
diff --git a/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc b/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc
index 3152008011515f62fb11957f49230f4d95cbbc8a..031aa73aec5059680ff56bc8203bf1ac29982787 100644
--- a/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc
+++ b/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc
@@ -95,7 +95,6 @@ struct BuiltInHost {
std::unique_ptr<NativeMessageHost> CreateIt2MeHost() {
std::unique_ptr<remoting::It2MeHostFactory> host_factory(
new remoting::It2MeHostFactory());
- host_factory->set_policy_service(g_browser_process->policy_service());
std::unique_ptr<remoting::ChromotingHostContext> context =
remoting::ChromotingHostContext::CreateForChromeOS(
make_scoped_refptr(g_browser_process->system_request_context()),
@@ -106,8 +105,9 @@ std::unique_ptr<NativeMessageHost> CreateIt2MeHost() {
content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE));
std::unique_ptr<NativeMessageHost> host(
- new remoting::It2MeNativeMessagingHost(std::move(context),
- std::move(host_factory)));
+ new remoting::It2MeNativeMessagingHost(
+ /*needs_elevation=*/false, g_browser_process->policy_service(),
+ std::move(context), std::move(host_factory)));
return host;
}
« no previous file with comments | « no previous file | remoting/host/android/jni_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698