Commit d6e2fd12 authored by sudarsana.nagineni's avatar sudarsana.nagineni Committed by Commit bot

Enable copresencePrivate API in incognito mode

This CL fixes a crash on opening chrome://copresence
in incognito window.

BUG=485992

Review URL: https://codereview.chromium.org/1134733002

Cr-Commit-Position: refs/heads/master@{#329447}
parent 3a407153
...@@ -41,6 +41,7 @@ class CopresencePrivateService final : public BrowserContextKeyedAPI { ...@@ -41,6 +41,7 @@ class CopresencePrivateService final : public BrowserContextKeyedAPI {
friend class BrowserContextKeyedAPIFactory<CopresencePrivateService>; friend class BrowserContextKeyedAPIFactory<CopresencePrivateService>;
// BrowserContextKeyedAPI implementation. // BrowserContextKeyedAPI implementation.
static const bool kServiceRedirectedInIncognito = true;
static const char* service_name() { return "CopresencePrivateService"; } static const char* service_name() { return "CopresencePrivateService"; }
bool initialized_; bool initialized_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment