Chromium Code Reviews

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

Issue 1681813003: arc: Use incognito profile for OptIn and cookie fetcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits and use webRequest.onCompleted Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 c7ad6dd40439f3cbf1ea568a280faf49fb1e88f3..ddaa7330e906a9945afc287eef787c431ac38d96 100644
--- a/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc
+++ b/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc
@@ -18,6 +18,7 @@
#include "base/thread_task_runner_handle.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/extensions/api/messaging/arc_support_host.h"
#include "chrome/browser/extensions/api/messaging/native_messaging_test_util.h"
#include "components/policy/core/common/policy_service.h"
#include "content/public/browser/browser_thread.h"
@@ -135,6 +136,10 @@ static const BuiltInHost kBuiltInHost[] = {
kRemotingIt2MeOrigins,
arraysize(kRemotingIt2MeOrigins),
&CreateIt2MeHost},
+ {ArcSupportHost::kHostName,
+ ArcSupportHost::kHostOrigin,
+ 1,
+ &ArcSupportHost::Create},
};
bool MatchesSecurityOrigin(const BuiltInHost& host,

Powered by Google App Engine