Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: extensions/shell/renderer/shell_extensions_renderer_client.cc

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "apps/shell/renderer/shell_extensions_renderer_client.h" 5 #include "extensions/shell/renderer/shell_extensions_renderer_client.h"
6 6
7 namespace apps { 7 namespace extensions {
8 8
9 ShellExtensionsRendererClient::ShellExtensionsRendererClient() {} 9 ShellExtensionsRendererClient::ShellExtensionsRendererClient() {
10 }
10 11
11 ShellExtensionsRendererClient::~ShellExtensionsRendererClient() {} 12 ShellExtensionsRendererClient::~ShellExtensionsRendererClient() {
13 }
12 14
13 bool ShellExtensionsRendererClient::IsIncognitoProcess() const { 15 bool ShellExtensionsRendererClient::IsIncognitoProcess() const {
14 // app_shell doesn't support off-the-record contexts. 16 // app_shell doesn't support off-the-record contexts.
15 return false; 17 return false;
16 } 18 }
17 19
18 int ShellExtensionsRendererClient::GetLowestIsolatedWorldId() const { 20 int ShellExtensionsRendererClient::GetLowestIsolatedWorldId() const {
19 // app_shell doesn't need to reserve world IDs for anything other than 21 // app_shell doesn't need to reserve world IDs for anything other than
20 // extensions, so we always return 1. Note that 0 is reserved for the global 22 // extensions, so we always return 1. Note that 0 is reserved for the global
21 // world. 23 // world.
22 return 1; 24 return 1;
23 } 25 }
24 26
25 } // namespace apps 27 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/renderer/shell_extensions_renderer_client.h ('k') | extensions/shell/renderer/shell_renderer_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698