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

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

Issue 6767010: More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, where (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 9
10 namespace webkit { 10 namespace webkit {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 bool MockPluginDelegate::OpenFileSystem( 75 bool MockPluginDelegate::OpenFileSystem(
76 const GURL& url, 76 const GURL& url,
77 fileapi::FileSystemType type, 77 fileapi::FileSystemType type,
78 long long size, 78 long long size,
79 fileapi::FileSystemCallbackDispatcher* dispatcher) { 79 fileapi::FileSystemCallbackDispatcher* dispatcher) {
80 return false; 80 return false;
81 } 81 }
82 82
83 bool MockPluginDelegate::MakeDirectory( 83 bool MockPluginDelegate::MakeDirectory(
84 const FilePath& path, 84 const GURL& path,
85 bool recursive, 85 bool recursive,
86 fileapi::FileSystemCallbackDispatcher* dispatcher) { 86 fileapi::FileSystemCallbackDispatcher* dispatcher) {
87 return false; 87 return false;
88 } 88 }
89 89
90 bool MockPluginDelegate::Query( 90 bool MockPluginDelegate::Query(
91 const FilePath& path, 91 const GURL& path,
92 fileapi::FileSystemCallbackDispatcher* dispatcher) { 92 fileapi::FileSystemCallbackDispatcher* dispatcher) {
93 return false; 93 return false;
94 } 94 }
95 95
96 bool MockPluginDelegate::Touch( 96 bool MockPluginDelegate::Touch(
97 const FilePath& path, 97 const GURL& path,
98 const base::Time& last_access_time, 98 const base::Time& last_access_time,
99 const base::Time& last_modified_time, 99 const base::Time& last_modified_time,
100 fileapi::FileSystemCallbackDispatcher* dispatcher) { 100 fileapi::FileSystemCallbackDispatcher* dispatcher) {
101 return false; 101 return false;
102 } 102 }
103 103
104 bool MockPluginDelegate::Delete( 104 bool MockPluginDelegate::Delete(
105 const FilePath& path, 105 const GURL& path,
106 fileapi::FileSystemCallbackDispatcher* dispatcher) { 106 fileapi::FileSystemCallbackDispatcher* dispatcher) {
107 return false; 107 return false;
108 } 108 }
109 109
110 bool MockPluginDelegate::Rename( 110 bool MockPluginDelegate::Rename(
111 const FilePath& file_path, 111 const GURL& file_path,
112 const FilePath& new_file_path, 112 const GURL& new_file_path,
113 fileapi::FileSystemCallbackDispatcher* dispatcher) { 113 fileapi::FileSystemCallbackDispatcher* dispatcher) {
114 return false; 114 return false;
115 } 115 }
116 116
117 bool MockPluginDelegate::ReadDirectory( 117 bool MockPluginDelegate::ReadDirectory(
118 const FilePath& directory_path, 118 const GURL& directory_path,
119 fileapi::FileSystemCallbackDispatcher* dispatcher) { 119 fileapi::FileSystemCallbackDispatcher* dispatcher) {
120 return false; 120 return false;
121 } 121 }
122 122
123 base::PlatformFileError MockPluginDelegate::OpenFile( 123 base::PlatformFileError MockPluginDelegate::OpenFile(
124 const PepperFilePath& path, 124 const PepperFilePath& path,
125 int flags, 125 int flags,
126 base::PlatformFile* file) { 126 base::PlatformFile* file) {
127 return base::PLATFORM_FILE_ERROR_FAILED; 127 return base::PLATFORM_FILE_ERROR_FAILED;
128 } 128 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 void MockPluginDelegate::HasUnsupportedFeature() { 213 void MockPluginDelegate::HasUnsupportedFeature() {
214 } 214 }
215 215
216 P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() { 216 P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() {
217 return NULL; 217 return NULL;
218 } 218 }
219 219
220 } // namespace ppapi 220 } // namespace ppapi
221 } // namespace webkit 221 } // 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