Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / chrome / renderer / extensions / chrome_extensions_renderer_client.h
blob7be7f0eff84e461ebc7f0f9b4c7fce5efe2939d8
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_
8 #include "base/macros.h"
9 #include "extensions/renderer/extensions_renderer_client.h"
11 class ChromeExtensionsRendererClient
12 : public extensions::ExtensionsRendererClient {
13 public:
14 ChromeExtensionsRendererClient();
15 ~ChromeExtensionsRendererClient() override;
17 // Get the LazyInstance for ChromeExtensionsRendererClient.
18 static ChromeExtensionsRendererClient* GetInstance();
20 // extensions::ExtensionsRendererClient implementation.
21 bool IsIncognitoProcess() const override;
22 int GetLowestIsolatedWorldId() const override;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsRendererClient);
28 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDERER_CLIENT_H_