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

Side by Side Diff: content/public/common/content_client.cc

Issue 11049004: Remove Legacy NPAPI Flash Sandbox support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « content/public/common/content_client.h ('k') | webkit/plugins/npapi/plugin_constants_win.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/public/common/content_client.h" 5 #include "content/public/common/content_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_piece.h" 8 #include "base/string_piece.h"
9 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
10 #include "webkit/user_agent/user_agent.h" 10 #include "webkit/user_agent/user_agent.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int resource_id, 76 int resource_id,
77 ui::ScaleFactor scale_factor) const { 77 ui::ScaleFactor scale_factor) const {
78 return base::StringPiece(); 78 return base::StringPiece();
79 } 79 }
80 80
81 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { 81 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const {
82 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); 82 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ());
83 return kEmptyImage; 83 return kEmptyImage;
84 } 84 }
85 85
86 #if defined(OS_WIN)
87 bool ContentClient::SandboxPlugin(CommandLine* command_line,
88 sandbox::TargetPolicy* policy) {
89 return false;
90 }
91 #endif
92
93 #if defined(OS_MACOSX) && !defined(OS_IOS) 86 #if defined(OS_MACOSX) && !defined(OS_IOS)
94 bool ContentClient::GetSandboxProfileForSandboxType( 87 bool ContentClient::GetSandboxProfileForSandboxType(
95 int sandbox_type, 88 int sandbox_type,
96 int* sandbox_profile_resource_id) const { 89 int* sandbox_profile_resource_id) const {
97 return false; 90 return false;
98 } 91 }
99 92
100 std::string ContentClient::GetCarbonInterposePath() const { 93 std::string ContentClient::GetCarbonInterposePath() const {
101 return std::string(); 94 return std::string();
102 } 95 }
103 #endif 96 #endif
104 97
105 } // namespace content 98 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | webkit/plugins/npapi/plugin_constants_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698