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

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

Issue 1149293008: [MediaRouter] Adds GetPresentationServiceDelegate impl to ChromeContentBrowserClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | chrome/browser/chrome_content_browser_client.cc » ('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 (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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 const wchar_t* GetResourceDllName() override; 249 const wchar_t* GetResourceDllName() override;
250 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; 250 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override;
251 #endif 251 #endif
252 void OverrideRenderFrameMojoServices( 252 void OverrideRenderFrameMojoServices(
253 content::ServiceRegistry* registry, 253 content::ServiceRegistry* registry,
254 content::RenderFrameHost* render_frame_host) override; 254 content::RenderFrameHost* render_frame_host) override;
255 void OpenURL(content::BrowserContext* browser_context, 255 void OpenURL(content::BrowserContext* browser_context,
256 const content::OpenURLParams& params, 256 const content::OpenURLParams& params,
257 const base::Callback<void(content::WebContents*)>& callback) 257 const base::Callback<void(content::WebContents*)>& callback)
258 override; 258 override;
259 content::PresentationServiceDelegate* GetPresentationServiceDelegate(
260 content::WebContents* web_contents) override;
259 261
260 void RecordURLMetric(const std::string& metric, const GURL& url) override; 262 void RecordURLMetric(const std::string& metric, const GURL& url) override;
261 263
262 private: 264 private:
263 friend class DisableWebRtcEncryptionFlagTest; 265 friend class DisableWebRtcEncryptionFlagTest;
264 266
265 #if defined(ENABLE_WEBRTC) 267 #if defined(ENABLE_WEBRTC)
266 // Copies disable WebRTC encryption switch depending on the channel. 268 // Copies disable WebRTC encryption switch depending on the channel.
267 static void MaybeCopyDisableWebRtcEncryptionSwitch( 269 static void MaybeCopyDisableWebRtcEncryptionSwitch(
268 base::CommandLine* to_command_line, 270 base::CommandLine* to_command_line,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 313 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
312 314
313 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 315 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
314 316
315 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 317 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
316 }; 318 };
317 319
318 } // namespace chrome 320 } // namespace chrome
319 321
320 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 322 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698