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

Side by Side Diff: ios/chrome/browser/web/chrome_web_client.h

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 | « no previous file | ios/chrome/browser/web/chrome_web_client.mm » ('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 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 #ifndef IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_ 5 #ifndef IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_
6 #define IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_ 6 #define IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ios/web/public/web_client.h" 9 #include "ios/web/public/web_client.h"
10 10
(...skipping 24 matching lines...) Expand all
35 void PostBrowserURLRewriterCreation( 35 void PostBrowserURLRewriterCreation(
36 web::BrowserURLRewriter* rewriter) override; 36 web::BrowserURLRewriter* rewriter) override;
37 NSString* GetEarlyPageScript(web::BrowserState* browser_state) const override; 37 NSString* GetEarlyPageScript(web::BrowserState* browser_state) const override;
38 void AllowCertificateError( 38 void AllowCertificateError(
39 web::WebState* web_state, 39 web::WebState* web_state,
40 int cert_error, 40 int cert_error,
41 const net::SSLInfo& ssl_info, 41 const net::SSLInfo& ssl_info,
42 const GURL& request_url, 42 const GURL& request_url,
43 bool overridable, 43 bool overridable,
44 const base::Callback<void(bool)>& callback) override; 44 const base::Callback<void(bool)>& callback) override;
45 void GetTaskSchedulerInitializationParams( 45 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams()
46 std::vector<base::SchedulerWorkerPoolParams>* params_vector, 46 override;
47 base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
48 index_to_traits_callback) override;
49 void PerformExperimentalTaskSchedulerRedirections() override; 47 void PerformExperimentalTaskSchedulerRedirections() override;
50 48
51 private: 49 private:
52 DISALLOW_COPY_AND_ASSIGN(ChromeWebClient); 50 DISALLOW_COPY_AND_ASSIGN(ChromeWebClient);
53 }; 51 };
54 52
55 #endif // IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_ 53 #endif // IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/web/chrome_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698