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

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

Issue 1185333003: Implement GetSandboxType() on all platforms and implement for all process types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 content::BrowserContext* browser_context, 328 content::BrowserContext* browser_context,
329 const content::OpenURLParams& params, 329 const content::OpenURLParams& params,
330 const base::Callback<void(content::WebContents*)>& callback) { 330 const base::Callback<void(content::WebContents*)>& callback) {
331 callback.Run(nullptr); 331 callback.Run(nullptr);
332 } 332 }
333 333
334 #if defined(OS_WIN) 334 #if defined(OS_WIN)
335 const wchar_t* ContentBrowserClient::GetResourceDllName() { 335 const wchar_t* ContentBrowserClient::GetResourceDllName() {
336 return nullptr; 336 return nullptr;
337 } 337 }
338
339 base::string16 ContentBrowserClient::GetAppContainerSidForSandboxType(
340 int sandbox_type) const {
341 return base::string16();
342 }
338 #endif 343 #endif
339 344
340 #if defined(VIDEO_HOLE) 345 #if defined(VIDEO_HOLE)
341 ExternalVideoSurfaceContainer* 346 ExternalVideoSurfaceContainer*
342 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
343 WebContents* web_contents) { 348 WebContents* web_contents) {
344 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 349 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
345 return nullptr; 350 return nullptr;
346 } 351 }
347 #endif 352 #endif
348 353
349 } // namespace content 354 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698