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

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, 1 month 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 (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 int ShellContentClient::GetSandboxPolicyForSandboxType(int sandbox_type) const {
59 return -1;
60 }
61 #endif
62
57 } // namespace content 63 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698