Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / extensions / shell / renderer / shell_extensions_renderer_client.cc
blobc3be35072878088bbcbb6821637e1600c6aa3ecc
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 #include "extensions/shell/renderer/shell_extensions_renderer_client.h"
7 namespace extensions {
9 ShellExtensionsRendererClient::ShellExtensionsRendererClient() {
12 ShellExtensionsRendererClient::~ShellExtensionsRendererClient() {
15 bool ShellExtensionsRendererClient::IsIncognitoProcess() const {
16 // app_shell doesn't support off-the-record contexts.
17 return false;
20 int ShellExtensionsRendererClient::GetLowestIsolatedWorldId() const {
21 // app_shell doesn't need to reserve world IDs for anything other than
22 // extensions, so we always return 1. Note that 0 is reserved for the global
23 // world.
24 return 1;
27 } // namespace extensions