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

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

Issue 1815563004: Remove iOS ifdefs in src/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 9 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
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/common/content_switches.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/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/common/origin_util.h" 10 #include "content/public/common/origin_util.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { 101 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const {
102 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); 102 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ());
103 return kEmptyImage; 103 return kEmptyImage;
104 } 104 }
105 105
106 std::string ContentClient::GetProcessTypeNameInEnglish(int type) { 106 std::string ContentClient::GetProcessTypeNameInEnglish(int type) {
107 NOTIMPLEMENTED(); 107 NOTIMPLEMENTED();
108 return std::string(); 108 return std::string();
109 } 109 }
110 110
111 #if defined(OS_MACOSX) && !defined(OS_IOS) 111 #if defined(OS_MACOSX)
112 bool ContentClient::GetSandboxProfileForSandboxType( 112 bool ContentClient::GetSandboxProfileForSandboxType(
113 int sandbox_type, 113 int sandbox_type,
114 int* sandbox_profile_resource_id) const { 114 int* sandbox_profile_resource_id) const {
115 return false; 115 return false;
116 } 116 }
117 #endif 117 #endif
118 118
119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { 119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
120 return false; 120 return false;
121 } 121 }
122 122
123 base::StringPiece ContentClient::GetOriginTrialPublicKey() { 123 base::StringPiece ContentClient::GetOriginTrialPublicKey() {
124 return base::StringPiece(); 124 return base::StringPiece();
125 } 125 }
126 126
127 } // namespace content 127 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698