Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / extensions / shell / renderer / shell_extensions_renderer_client.h
blobaa72353fe73bef969c111fe8fb3886c71925d026
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 EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_
6 #define EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_
8 #include "base/macros.h"
9 #include "extensions/renderer/extensions_renderer_client.h"
11 namespace extensions {
13 class ShellExtensionsRendererClient : public ExtensionsRendererClient {
14 public:
15 ShellExtensionsRendererClient();
16 ~ShellExtensionsRendererClient() override;
18 // ExtensionsRendererClient implementation.
19 bool IsIncognitoProcess() const override;
20 int GetLowestIsolatedWorldId() const override;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsRendererClient);
26 } // namespace extensions
28 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_