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

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: rm TODO 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 override; 302 override;
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 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override;
312 313
313 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) 314 #if BUILDFLAG(ENABLE_MEDIA_REMOTING)
314 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, 315 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host,
315 media::mojom::RemotingSourcePtr source, 316 media::mojom::RemotingSourcePtr source,
316 media::mojom::RemoterRequest request) final; 317 media::mojom::RemoterRequest request) final;
317 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) 318 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING)
318 319
319 private: 320 private:
320 friend class DisableWebRtcEncryptionFlagTest; 321 friend class DisableWebRtcEncryptionFlagTest;
321 322
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 // Vector of additional ChromeContentBrowserClientParts. 362 // Vector of additional ChromeContentBrowserClientParts.
362 // Parts are deleted in the reverse order they are added. 363 // Parts are deleted in the reverse order they are added.
363 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 364 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
364 365
365 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 366 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
366 367
367 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 368 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
368 }; 369 };
369 370
370 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 371 #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