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

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

Issue 2643183002: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. (Closed)
Patch Set: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. 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
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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/task_scheduler/task_scheduler.h" 17 #include "base/task_scheduler/task_scheduler.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "content/public/browser/certificate_request_result_type.h" 20 #include "content/public/browser/certificate_request_result_type.h"
21 #include "content/public/browser/navigation_throttle.h" 21 #include "content/public/browser/navigation_throttle.h"
22 #include "content/public/common/associated_interface_registry.h"
22 #include "content/public/common/content_client.h" 23 #include "content/public/common/content_client.h"
23 #include "content/public/common/media_stream_request.h" 24 #include "content/public/common/media_stream_request.h"
24 #include "content/public/common/resource_type.h" 25 #include "content/public/common/resource_type.h"
25 #include "content/public/common/service_info.h" 26 #include "content/public/common/service_info.h"
26 #include "content/public/common/socket_permission_request.h" 27 #include "content/public/common/socket_permission_request.h"
27 #include "content/public/common/window_container_type.mojom.h" 28 #include "content/public/common/window_container_type.mojom.h"
28 #include "media/audio/audio_manager.h" 29 #include "media/audio/audio_manager.h"
29 #include "media/media_features.h" 30 #include "media/media_features.h"
30 #include "media/mojo/interfaces/remoting.mojom.h" 31 #include "media/mojo/interfaces/remoting.mojom.h"
31 #include "net/base/mime_util.h" 32 #include "net/base/mime_util.h"
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 // returning a random GUID. 655 // returning a random GUID.
655 virtual std::string GetServiceUserIdForBrowserContext( 656 virtual std::string GetServiceUserIdForBrowserContext(
656 BrowserContext* browser_context); 657 BrowserContext* browser_context);
657 658
658 // Allows to register browser interfaces exposed through the 659 // Allows to register browser interfaces exposed through the
659 // RenderProcessHost. Note that interface factory callbacks added to 660 // RenderProcessHost. Note that interface factory callbacks added to
660 // |registry| will by default be run immediately on the IO thread, unless a 661 // |registry| will by default be run immediately on the IO thread, unless a
661 // task runner is provided. 662 // task runner is provided.
662 virtual void ExposeInterfacesToRenderer( 663 virtual void ExposeInterfacesToRenderer(
663 service_manager::BinderRegistry* registry, 664 service_manager::BinderRegistry* registry,
665 AssociatedInterfaceRegistry* associated_registry,
664 RenderProcessHost* render_process_host) {} 666 RenderProcessHost* render_process_host) {}
665 667
666 // Called when RenderFrameHostImpl connects to the Media service. Expose 668 // Called when RenderFrameHostImpl connects to the Media service. Expose
667 // interfaces to the service using |registry|. 669 // interfaces to the service using |registry|.
668 virtual void ExposeInterfacesToMediaService( 670 virtual void ExposeInterfacesToMediaService(
669 service_manager::InterfaceRegistry* registry, 671 service_manager::InterfaceRegistry* registry,
670 RenderFrameHost* render_frame_host) {} 672 RenderFrameHost* render_frame_host) {}
671 673
672 // Allows to register browser Mojo interfaces exposed through the 674 // Allows to register browser Mojo interfaces exposed through the
673 // RenderFrameHost. 675 // RenderFrameHost.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 virtual bool ShouldRedirectDOMStorageTaskRunner(); 829 virtual bool ShouldRedirectDOMStorageTaskRunner();
828 830
829 // If this returns true, all BrowserThreads (but UI/IO) that support it on 831 // If this returns true, all BrowserThreads (but UI/IO) that support it on
830 // this platform will experimentally be redirected to TaskScheduler. 832 // this platform will experimentally be redirected to TaskScheduler.
831 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); 833 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
832 }; 834 };
833 835
834 } // namespace content 836 } // namespace content
835 837
836 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 838 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698