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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 11368019: Add support for external out-of-process PPAPI plugins in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/pepper_helper.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/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 } 225 }
226 226
227 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { 227 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() {
228 return FilePath(); 228 return FilePath();
229 } 229 }
230 230
231 std::string ContentBrowserClient::GetDefaultDownloadName() { 231 std::string ContentBrowserClient::GetDefaultDownloadName() {
232 return std::string(); 232 return std::string();
233 } 233 }
234 234
235 BrowserPpapiHost*
236 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) {
237 return NULL;
238 }
239
235 bool ContentBrowserClient::AllowPepperSocketAPI( 240 bool ContentBrowserClient::AllowPepperSocketAPI(
236 BrowserContext* browser_context, 241 BrowserContext* browser_context,
237 const GURL& url, 242 const GURL& url,
238 const SocketPermissionRequest& params) { 243 const SocketPermissionRequest& params) {
239 return false; 244 return false;
240 } 245 }
241 246
242 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { 247 bool ContentBrowserClient::AllowPepperPrivateFileAPI() {
243 return false; 248 return false;
244 } 249 }
245 250
246 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { 251 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() {
247 return FilePath(); 252 return FilePath();
248 } 253 }
249 254
250 #if defined(OS_WIN) 255 #if defined(OS_WIN)
251 const wchar_t* ContentBrowserClient::GetResourceDllName() { 256 const wchar_t* ContentBrowserClient::GetResourceDllName() {
252 return NULL; 257 return NULL;
253 } 258 }
254 #endif 259 #endif
255 260
256 #if defined(USE_NSS) 261 #if defined(USE_NSS)
257 crypto::CryptoModuleBlockingPasswordDelegate* 262 crypto::CryptoModuleBlockingPasswordDelegate*
258 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 263 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
259 return NULL; 264 return NULL;
260 } 265 }
261 #endif 266 #endif
262 267
263 } // namespace content 268 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/pepper_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698