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

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
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, const GURL& url) { 241 BrowserContext* browser_context, const GURL& url) {
237 return false; 242 return false;
238 } 243 }
239 244
240 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { 245 bool ContentBrowserClient::AllowPepperPrivateFileAPI() {
241 return false; 246 return false;
242 } 247 }
243 248
244 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { 249 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() {
245 return FilePath(); 250 return FilePath();
246 } 251 }
247 252
248 #if defined(OS_WIN) 253 #if defined(OS_WIN)
249 const wchar_t* ContentBrowserClient::GetResourceDllName() { 254 const wchar_t* ContentBrowserClient::GetResourceDllName() {
250 return NULL; 255 return NULL;
251 } 256 }
252 #endif 257 #endif
253 258
254 #if defined(USE_NSS) 259 #if defined(USE_NSS)
255 crypto::CryptoModuleBlockingPasswordDelegate* 260 crypto::CryptoModuleBlockingPasswordDelegate*
256 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 261 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
257 return NULL; 262 return NULL;
258 } 263 }
259 #endif 264 #endif
260 265
261 } // namespace content 266 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698