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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2464233002: Experiment with redirecting all BrowserThreads (but UI/IO) to TaskScheduler (Closed)
Patch Set: Hold the lock while starting!!! Created 4 years 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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 content::PresentationServiceDelegate* GetPresentationServiceDelegate( 303 content::PresentationServiceDelegate* GetPresentationServiceDelegate(
304 content::WebContents* web_contents) override; 304 content::WebContents* web_contents) override;
305 void RecordURLMetric(const std::string& metric, const GURL& url) override; 305 void RecordURLMetric(const std::string& metric, const GURL& url) override;
306 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( 306 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
307 content::NavigationHandle* handle) override; 307 content::NavigationHandle* handle) override;
308 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( 308 std::unique_ptr<content::NavigationUIData> GetNavigationUIData(
309 content::NavigationHandle* navigation_handle) override; 309 content::NavigationHandle* navigation_handle) override;
310 std::unique_ptr<content::MemoryCoordinatorDelegate> 310 std::unique_ptr<content::MemoryCoordinatorDelegate>
311 GetMemoryCoordinatorDelegate() override; 311 GetMemoryCoordinatorDelegate() override;
312 ::rappor::RapporService* GetRapporService() override; 312 ::rappor::RapporService* GetRapporService() override;
313 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override;
313 314
314 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) 315 #if BUILDFLAG(ENABLE_MEDIA_REMOTING)
315 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, 316 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host,
316 media::mojom::RemotingSourcePtr source, 317 media::mojom::RemotingSourcePtr source,
317 media::mojom::RemoterRequest request) final; 318 media::mojom::RemoterRequest request) final;
318 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) 319 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING)
319 320
320 private: 321 private:
321 friend class DisableWebRtcEncryptionFlagTest; 322 friend class DisableWebRtcEncryptionFlagTest;
322 323
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 // Vector of additional ChromeContentBrowserClientParts. 363 // Vector of additional ChromeContentBrowserClientParts.
363 // Parts are deleted in the reverse order they are added. 364 // Parts are deleted in the reverse order they are added.
364 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 365 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
365 366
366 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 367 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
367 368
368 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 369 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
369 }; 370 };
370 371
371 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 372 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | content/browser/browser_main_loop.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698