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

Side by Side Diff: content/child/fileapi/webfilesystem_impl.h

Issue 23856002: SyncFS: Support resolveLocalFileSystemURL on SyncFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // webkit_glue::WorkerTaskRunner::Observer implementation. 47 // webkit_glue::WorkerTaskRunner::Observer implementation.
48 virtual void OnWorkerRunLoopStopped() OVERRIDE; 48 virtual void OnWorkerRunLoopStopped() OVERRIDE;
49 49
50 // WebFileSystem implementation. 50 // WebFileSystem implementation.
51 virtual void openFileSystem( 51 virtual void openFileSystem(
52 const WebKit::WebURL& storage_partition, 52 const WebKit::WebURL& storage_partition,
53 const WebKit::WebFileSystemType type, 53 const WebKit::WebFileSystemType type,
54 bool create, 54 bool create,
55 WebKit::WebFileSystemCallbacks*); 55 WebKit::WebFileSystemCallbacks*);
56 virtual void resolveURL(
57 const WebKit::WebURL& storage_partition,
tzik 2013/09/05 09:30:26 I think this URL is not a storage partition (=secu
nhiroki 2013/09/09 09:51:05 I see. This contains full filesystem URL, so how a
58 WebKit::WebFileSystemCallbacks*) OVERRIDE;
56 virtual void deleteFileSystem( 59 virtual void deleteFileSystem(
57 const WebKit::WebURL& storage_partition, 60 const WebKit::WebURL& storage_partition,
58 const WebKit::WebFileSystemType type, 61 const WebKit::WebFileSystemType type,
59 WebKit::WebFileSystemCallbacks*); 62 WebKit::WebFileSystemCallbacks*);
60 virtual void move( 63 virtual void move(
61 const WebKit::WebURL& src_path, 64 const WebKit::WebURL& src_path,
62 const WebKit::WebURL& dest_path, 65 const WebKit::WebURL& dest_path,
63 WebKit::WebFileSystemCallbacks*) OVERRIDE; 66 WebKit::WebFileSystemCallbacks*) OVERRIDE;
64 virtual void copy( 67 virtual void copy(
65 const WebKit::WebURL& src_path, 68 const WebKit::WebURL& src_path,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 private: 111 private:
109 scoped_refptr<base::MessageLoopProxy> main_thread_loop_; 112 scoped_refptr<base::MessageLoopProxy> main_thread_loop_;
110 IDMap<WebKit::WebFileSystemCallbacks> callbacks_; 113 IDMap<WebKit::WebFileSystemCallbacks> callbacks_;
111 114
112 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl); 115 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl);
113 }; 116 };
114 117
115 } // namespace content 118 } // namespace content
116 119
117 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 120 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698