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

Side by Side Diff: content/shell/shell_content_client.cc

Issue 8589001: Load mac sandbox definitions from resources instead of the bundle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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
« no previous file with comments | « content/shell/shell_content_client.h ('k') | content/test/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/shell/shell_content_client.h" 5 #include "content/shell/shell_content_client.h"
6 6
7 #include "base/string_piece.h" 7 #include "base/string_piece.h"
8 #include "webkit/glue/user_agent.h" 8 #include "webkit/glue/user_agent.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 return base::StringPiece(); 47 return base::StringPiece();
48 } 48 }
49 49
50 #if defined(OS_WIN) 50 #if defined(OS_WIN)
51 bool ShellContentClient::SandboxPlugin(CommandLine* command_line, 51 bool ShellContentClient::SandboxPlugin(CommandLine* command_line,
52 sandbox::TargetPolicy* policy) { 52 sandbox::TargetPolicy* policy) {
53 return false; 53 return false;
54 } 54 }
55 #endif 55 #endif
56 56
57 #if defined(OS_MACOSX)
58 bool ShellContentClient::GetSandboxProfileForSandboxType(
59 int sandbox_type,
60 int* sandbox_profile_resource_id) const {
61 return false;
62 }
63 #endif
64
57 } // namespace content 65 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_client.h ('k') | content/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698