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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 10854131: Remove obsolete webkit_glue::P2PTransport interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 391
392 void MockPluginDelegate::DidStopLoading() { 392 void MockPluginDelegate::DidStopLoading() {
393 } 393 }
394 394
395 void MockPluginDelegate::SetContentRestriction(int restrictions) { 395 void MockPluginDelegate::SetContentRestriction(int restrictions) {
396 } 396 }
397 397
398 void MockPluginDelegate::SaveURLAs(const GURL& url) { 398 void MockPluginDelegate::SaveURLAs(const GURL& url) {
399 } 399 }
400 400
401 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() {
402 return NULL;
403 }
404
405 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { 401 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) {
406 return 0.0; 402 return 0.0;
407 } 403 }
408 404
409 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( 405 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory(
410 uint32_t size) { 406 uint32_t size) {
411 return NULL; 407 return NULL;
412 } 408 }
413 409
414 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 410 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 460 }
465 461
466 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( 462 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions(
467 const GURL& document_url, 463 const GURL& document_url,
468 const GURL& plugin_url) { 464 const GURL& plugin_url) {
469 return PP_FLASHLSORESTRICTIONS_NONE; 465 return PP_FLASHLSORESTRICTIONS_NONE;
470 } 466 }
471 467
472 } // namespace ppapi 468 } // namespace ppapi
473 } // namespace webkit 469 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698