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

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

Issue 14784002: Move DirectoryReader::ReadEntries to FileRef::ReadDirectoryEntries (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address comments by dmichael and raymes Created 7 years, 7 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
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 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const GURL& origin_url, 81 const GURL& origin_url,
82 fileapi::FileSystemType type, 82 fileapi::FileSystemType type,
83 long long size, 83 long long size,
84 fileapi::FileSystemCallbackDispatcher* dispatcher); 84 fileapi::FileSystemCallbackDispatcher* dispatcher);
85 virtual bool MakeDirectory( 85 virtual bool MakeDirectory(
86 const GURL& path, 86 const GURL& path,
87 bool recursive, 87 bool recursive,
88 fileapi::FileSystemCallbackDispatcher* dispatcher); 88 fileapi::FileSystemCallbackDispatcher* dispatcher);
89 virtual bool Query(const GURL& path, 89 virtual bool Query(const GURL& path,
90 fileapi::FileSystemCallbackDispatcher* dispatcher); 90 fileapi::FileSystemCallbackDispatcher* dispatcher);
91 virtual bool ReadDirectoryEntries(
92 const GURL& path,
93 fileapi::FileSystemCallbackDispatcher* dispatcher);
91 virtual bool Touch(const GURL& path, 94 virtual bool Touch(const GURL& path,
92 const base::Time& last_access_time, 95 const base::Time& last_access_time,
93 const base::Time& last_modified_time, 96 const base::Time& last_modified_time,
94 fileapi::FileSystemCallbackDispatcher* dispatcher); 97 fileapi::FileSystemCallbackDispatcher* dispatcher);
95 virtual bool SetLength(const GURL& path, 98 virtual bool SetLength(const GURL& path,
96 int64_t length, 99 int64_t length,
97 fileapi::FileSystemCallbackDispatcher* dispatcher); 100 fileapi::FileSystemCallbackDispatcher* dispatcher);
98 virtual bool Delete(const GURL& path, 101 virtual bool Delete(const GURL& path,
99 fileapi::FileSystemCallbackDispatcher* dispatcher); 102 fileapi::FileSystemCallbackDispatcher* dispatcher);
100 virtual bool Rename(const GURL& file_path, 103 virtual bool Rename(const GURL& file_path,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 base::PlatformFile handle, 180 base::PlatformFile handle,
178 base::ProcessId target_process_id, 181 base::ProcessId target_process_id,
179 bool should_close_source) const; 182 bool should_close_source) const;
180 virtual bool IsRunningInProcess(PP_Instance instance) const; 183 virtual bool IsRunningInProcess(PP_Instance instance) const;
181 }; 184 };
182 185
183 } // namespace ppapi 186 } // namespace ppapi
184 } // namespace webkit 187 } // namespace webkit
185 188
186 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 189 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698