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

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 9845033: Move the MediaObserver getter from ResourceContext to ContentBrowserClient, since we only need to s… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix dcheck Created 8 years, 9 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 | Annotate | Revision Log
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 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 net::X509Certificate* cert, 204 net::X509Certificate* cert,
205 int render_process_id, 205 int render_process_id,
206 int render_view_id) { 206 int render_view_id) {
207 } 207 }
208 208
209 void MockContentBrowserClient::RequestMediaAccessPermission( 209 void MockContentBrowserClient::RequestMediaAccessPermission(
210 const MediaStreamRequest* request, 210 const MediaStreamRequest* request,
211 const MediaResponseCallback& callback) { 211 const MediaResponseCallback& callback) {
212 } 212 }
213 213
214 MediaObserver* MockContentBrowserClient::GetMediaObserver() {
215 return NULL;
216 }
217
214 void MockContentBrowserClient::RequestDesktopNotificationPermission( 218 void MockContentBrowserClient::RequestDesktopNotificationPermission(
215 const GURL& source_origin, 219 const GURL& source_origin,
216 int callback_context, 220 int callback_context,
217 int render_process_id, 221 int render_process_id,
218 int render_view_id) { 222 int render_view_id) {
219 } 223 }
220 224
221 WebKit::WebNotificationPresenter::Permission 225 WebKit::WebNotificationPresenter::Permission
222 MockContentBrowserClient::CheckDesktopNotificationPermission( 226 MockContentBrowserClient::CheckDesktopNotificationPermission(
223 const GURL& source_origin, 227 const GURL& source_origin,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 #endif 335 #endif
332 336
333 #if defined(USE_NSS) 337 #if defined(USE_NSS)
334 crypto::CryptoModuleBlockingPasswordDelegate* 338 crypto::CryptoModuleBlockingPasswordDelegate*
335 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 339 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
336 return NULL; 340 return NULL;
337 } 341 }
338 #endif 342 #endif
339 343
340 } // namespace content 344 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/media/audio_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698