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

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

Issue 338523007: Pepper: Whitelist dev channel APIs for some apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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
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/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { 299 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() {
300 return NULL; 300 return NULL;
301 } 301 }
302 302
303 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( 303 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle(
304 BrowserContext* browser_context, 304 BrowserContext* browser_context,
305 const GURL& url) { 305 const GURL& url) {
306 return false; 306 return false;
307 } 307 }
308 308
309 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs() { 309 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs(
310 BrowserContext* browser_context,
311 const GURL& url) {
310 return false; 312 return false;
311 } 313 }
312 314
313 net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess( 315 net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess(
314 int render_process_id) { 316 int render_process_id) {
315 return NULL; 317 return NULL;
316 } 318 }
317 319
318 #if defined(OS_WIN) 320 #if defined(OS_WIN)
319 const wchar_t* ContentBrowserClient::GetResourceDllName() { 321 const wchar_t* ContentBrowserClient::GetResourceDllName() {
320 return NULL; 322 return NULL;
321 } 323 }
322 #endif 324 #endif
323 325
324 #if defined(VIDEO_HOLE) 326 #if defined(VIDEO_HOLE)
325 ExternalVideoSurfaceContainer* 327 ExternalVideoSurfaceContainer*
326 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 328 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
327 WebContents* web_contents) { 329 WebContents* web_contents) {
328 return NULL; 330 return NULL;
329 } 331 }
330 #endif 332 #endif
331 333
332 } // namespace content 334 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698