OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/logging.h" | 9 #include "base/logging.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 WebKit::WebNotificationPresenter::Permission | 192 WebKit::WebNotificationPresenter::Permission |
193 MockContentBrowserClient::CheckDesktopNotificationPermission( | 193 MockContentBrowserClient::CheckDesktopNotificationPermission( |
194 const GURL& source_origin, | 194 const GURL& source_origin, |
195 const content::ResourceContext& context, | 195 const content::ResourceContext& context, |
196 int render_process_id) { | 196 int render_process_id) { |
197 return WebKit::WebNotificationPresenter::PermissionAllowed; | 197 return WebKit::WebNotificationPresenter::PermissionAllowed; |
198 } | 198 } |
199 | 199 |
200 void MockContentBrowserClient::ShowDesktopNotification( | 200 void MockContentBrowserClient::ShowDesktopNotification( |
201 const DesktopNotificationHostMsg_Show_Params& params, | 201 const content::ShowDesktopNotificationHostMsgParams& params, |
202 int render_process_id, | 202 int render_process_id, |
203 int render_view_id, | 203 int render_view_id, |
204 bool worker) { | 204 bool worker) { |
205 } | 205 } |
206 | 206 |
207 void MockContentBrowserClient::CancelDesktopNotification( | 207 void MockContentBrowserClient::CancelDesktopNotification( |
208 int render_process_id, | 208 int render_process_id, |
209 int render_view_id, | 209 int render_view_id, |
210 int notification_id) { | 210 int notification_id) { |
211 } | 211 } |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 #endif | 304 #endif |
305 | 305 |
306 #if defined(USE_NSS) | 306 #if defined(USE_NSS) |
307 crypto::CryptoModuleBlockingPasswordDelegate* | 307 crypto::CryptoModuleBlockingPasswordDelegate* |
308 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 308 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
309 return NULL; | 309 return NULL; |
310 } | 310 } |
311 #endif | 311 #endif |
312 | 312 |
313 } // namespace content | 313 } // namespace content |
OLD | NEW |