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

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

Issue 1274763003: Initialize GPU shader disk cache on brower thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address content_unittests failure on Android Created 5 years, 4 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/browser/content_browser_client.h ('k') | content/test/run_all_unittests.cc » ('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/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 "content/public/common/sandbox_type.h" 9 #include "content/public/common/sandbox_type.h"
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 } 284 }
285 285
286 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { 286 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() {
287 return base::FilePath(); 287 return base::FilePath();
288 } 288 }
289 289
290 std::string ContentBrowserClient::GetDefaultDownloadName() { 290 std::string ContentBrowserClient::GetDefaultDownloadName() {
291 return std::string(); 291 return std::string();
292 } 292 }
293 293
294 base::FilePath ContentBrowserClient::GetShaderDiskCacheDirectory() {
295 return base::FilePath();
296 }
297
294 BrowserPpapiHost* 298 BrowserPpapiHost*
295 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { 299 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) {
296 return nullptr; 300 return nullptr;
297 } 301 }
298 302
299 bool ContentBrowserClient::AllowPepperSocketAPI( 303 bool ContentBrowserClient::AllowPepperSocketAPI(
300 BrowserContext* browser_context, 304 BrowserContext* browser_context,
301 const GURL& url, 305 const GURL& url,
302 bool private_api, 306 bool private_api,
303 const SocketPermissionRequest* params) { 307 const SocketPermissionRequest* params) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 #if defined(VIDEO_HOLE) 373 #if defined(VIDEO_HOLE)
370 ExternalVideoSurfaceContainer* 374 ExternalVideoSurfaceContainer*
371 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 375 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
372 WebContents* web_contents) { 376 WebContents* web_contents) {
373 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 377 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
374 return nullptr; 378 return nullptr;
375 } 379 }
376 #endif 380 #endif
377 381
378 } // namespace content 382 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698