// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_INCOGNITO_CONNECTABILITY_H_ #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_INCOGNITO_CONNECTABILITY_H_ #include <set> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "extensions/browser/browser_context_keyed_api_factory.h" #include "extensions/common/extension_id.h" #include "url/gurl.h" namespace content { class BrowserContext; class WebContents; } namespace infobars { class ContentInfoBarManager; class InfoBar; } namespace extensions { class Extension; // Tracks the web connectability of domains to extensions in incognito mode. // // The most important functionality is prompting the user to allow or disallow // connections from incognito tabs to extensions or apps. Users are not prompted // for extensions which can be enabled in incognito mode. However for apps, it's // essential we have this functionality because there is no way for them to be // enabled in incognito. class IncognitoConnectability : public BrowserContextKeyedAPI { … }; } // namespace extensions #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_INCOGNITO_CONNECTABILITY_H_