OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ |
6 #define EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ | 6 #define EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "extensions/renderer/extensions_renderer_client.h" | 9 #include "extensions/renderer/extensions_renderer_client.h" |
10 | 10 |
11 namespace extensions { | 11 namespace extensions { |
12 | 12 |
13 class ShellExtensionsRendererClient : public ExtensionsRendererClient { | 13 class ShellExtensionsRendererClient : public ExtensionsRendererClient { |
14 public: | 14 public: |
15 ShellExtensionsRendererClient(); | 15 ShellExtensionsRendererClient(); |
16 virtual ~ShellExtensionsRendererClient(); | 16 virtual ~ShellExtensionsRendererClient(); |
17 | 17 |
18 // ExtensionsRendererClient implementation. | 18 // ExtensionsRendererClient implementation. |
19 virtual bool IsIncognitoProcess() const OVERRIDE; | 19 virtual bool IsIncognitoProcess() const override; |
20 virtual int GetLowestIsolatedWorldId() const OVERRIDE; | 20 virtual int GetLowestIsolatedWorldId() const override; |
21 | 21 |
22 private: | 22 private: |
23 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsRendererClient); | 23 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsRendererClient); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace extensions | 26 } // namespace extensions |
27 | 27 |
28 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ | 28 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ |
OLD | NEW |