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

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

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files 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 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>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 namespace net { 74 namespace net {
75 class CookieOptions; 75 class CookieOptions;
76 class NetLog; 76 class NetLog;
77 class SSLCertRequestInfo; 77 class SSLCertRequestInfo;
78 class SSLInfo; 78 class SSLInfo;
79 class URLRequest; 79 class URLRequest;
80 class URLRequestContext; 80 class URLRequestContext;
81 } 81 }
82 82
83 namespace rappor {
84 class RapporService;
85 }
86
83 namespace sandbox { 87 namespace sandbox {
84 class TargetPolicy; 88 class TargetPolicy;
85 } 89 }
86 90
87 namespace ui { 91 namespace ui {
88 class SelectFilePolicy; 92 class SelectFilePolicy;
89 } 93 }
90 94
91 namespace url { 95 namespace url {
92 class Origin; 96 class Origin;
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 virtual std::unique_ptr<MemoryCoordinatorDelegate> 788 virtual std::unique_ptr<MemoryCoordinatorDelegate>
785 GetMemoryCoordinatorDelegate(); 789 GetMemoryCoordinatorDelegate();
786 790
787 // Binds a new media remoter service to |request|, if supported by the 791 // Binds a new media remoter service to |request|, if supported by the
788 // embedder, for the |source| that lives in the render frame represented 792 // embedder, for the |source| that lives in the render frame represented
789 // by |render_frame_host|. This may be called multiple times if there is more 793 // by |render_frame_host|. This may be called multiple times if there is more
790 // than one source candidate in the same render frame. 794 // than one source candidate in the same render frame.
791 virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host, 795 virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host,
792 media::mojom::RemotingSourcePtr source, 796 media::mojom::RemotingSourcePtr source,
793 media::mojom::RemoterRequest request) {} 797 media::mojom::RemoterRequest request) {}
798
799 // Returns the RapporService from the browser process.
800 virtual ::rappor::RapporService* GetRapporService();
794 }; 801 };
795 802
796 } // namespace content 803 } // namespace content
797 804
798 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 805 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698