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

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

Issue 6833007: 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) 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 "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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 bool MockPluginDelegate::OpenFileSystem( 81 bool MockPluginDelegate::OpenFileSystem(
82 const GURL& url, 82 const GURL& url,
83 fileapi::FileSystemType type, 83 fileapi::FileSystemType type,
84 long long size, 84 long long size,
85 fileapi::FileSystemCallbackDispatcher* dispatcher) { 85 fileapi::FileSystemCallbackDispatcher* dispatcher) {
86 return false; 86 return false;
87 } 87 }
88 88
89 bool MockPluginDelegate::MakeDirectory( 89 bool MockPluginDelegate::MakeDirectory(
90 const FilePath& path, 90 const GURL& path,
91 bool recursive, 91 bool recursive,
92 fileapi::FileSystemCallbackDispatcher* dispatcher) { 92 fileapi::FileSystemCallbackDispatcher* dispatcher) {
93 return false; 93 return false;
94 } 94 }
95 95
96 bool MockPluginDelegate::Query( 96 bool MockPluginDelegate::Query(
97 const FilePath& path, 97 const GURL& path,
98 fileapi::FileSystemCallbackDispatcher* dispatcher) { 98 fileapi::FileSystemCallbackDispatcher* dispatcher) {
99 return false; 99 return false;
100 } 100 }
101 101
102 bool MockPluginDelegate::Touch( 102 bool MockPluginDelegate::Touch(
103 const FilePath& path, 103 const GURL& path,
104 const base::Time& last_access_time, 104 const base::Time& last_access_time,
105 const base::Time& last_modified_time, 105 const base::Time& last_modified_time,
106 fileapi::FileSystemCallbackDispatcher* dispatcher) { 106 fileapi::FileSystemCallbackDispatcher* dispatcher) {
107 return false; 107 return false;
108 } 108 }
109 109
110 bool MockPluginDelegate::Delete( 110 bool MockPluginDelegate::Delete(
111 const FilePath& path, 111 const GURL& path,
112 fileapi::FileSystemCallbackDispatcher* dispatcher) { 112 fileapi::FileSystemCallbackDispatcher* dispatcher) {
113 return false; 113 return false;
114 } 114 }
115 115
116 bool MockPluginDelegate::Rename( 116 bool MockPluginDelegate::Rename(
117 const FilePath& file_path, 117 const GURL& file_path,
118 const FilePath& new_file_path, 118 const GURL& new_file_path,
119 fileapi::FileSystemCallbackDispatcher* dispatcher) { 119 fileapi::FileSystemCallbackDispatcher* dispatcher) {
120 return false; 120 return false;
121 } 121 }
122 122
123 bool MockPluginDelegate::ReadDirectory( 123 bool MockPluginDelegate::ReadDirectory(
124 const FilePath& directory_path, 124 const GURL& directory_path,
125 fileapi::FileSystemCallbackDispatcher* dispatcher) { 125 fileapi::FileSystemCallbackDispatcher* dispatcher) {
126 return false; 126 return false;
127 } 127 }
128 128
129 base::PlatformFileError MockPluginDelegate::OpenFile( 129 base::PlatformFileError MockPluginDelegate::OpenFile(
130 const PepperFilePath& path, 130 const PepperFilePath& path,
131 int flags, 131 int flags,
132 base::PlatformFile* file) { 132 base::PlatformFile* file) {
133 return base::PLATFORM_FILE_ERROR_FAILED; 133 return base::PLATFORM_FILE_ERROR_FAILED;
134 } 134 }
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() { 223 P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() {
224 return NULL; 224 return NULL;
225 } 225 }
226 226
227 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() { 227 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() {
228 return NULL; 228 return NULL;
229 } 229 }
230 230
231 } // namespace ppapi 231 } // namespace ppapi
232 } // namespace webkit 232 } // 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