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

Side by Side Diff: ios/web/public/web_client.mm

Issue 2797803002: Use TaskScheduler::InitParams to initialize TaskScheduler in web_main_loop.mm. (Closed)
Patch Set: fix-build-error Created 3 years, 8 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 | « ios/web/public/web_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #import "ios/web/public/web_client.h" 5 #import "ios/web/public/web_client.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #if !defined(__has_feature) || !__has_feature(objc_arc) 9 #if !defined(__has_feature) || !__has_feature(objc_arc)
10 #error "This file requires ARC support." 10 #error "This file requires ARC support."
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void WebClient::AllowCertificateError( 77 void WebClient::AllowCertificateError(
78 WebState* web_state, 78 WebState* web_state,
79 int cert_error, 79 int cert_error,
80 const net::SSLInfo& ssl_info, 80 const net::SSLInfo& ssl_info,
81 const GURL& request_url, 81 const GURL& request_url,
82 bool overridable, 82 bool overridable,
83 const base::Callback<void(bool)>& callback) { 83 const base::Callback<void(bool)>& callback) {
84 callback.Run(false); 84 callback.Run(false);
85 } 85 }
86 86
87 std::unique_ptr<base::TaskScheduler::InitParams>
88 WebClient::GetTaskSchedulerInitParams() {
89 return nullptr;
90 }
91
87 } // namespace web 92 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/web_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698