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

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

Issue 8511075: Move the struct used when showing a desktop notification to content/public/common, so that chrome... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 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
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
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
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698