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

Side by Side Diff: third_party/WebKit/Source/modules/filesystem/DOMWindowFileSystem.h

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years 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 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met: 5 * modification, are permitted provided that the following conditions are met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #ifndef DOMWindowFileSystem_h 26 #ifndef DOMWindowFileSystem_h
27 #define DOMWindowFileSystem_h 27 #define DOMWindowFileSystem_h
28 28
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 #include "wtf/Allocator.h" 30 #include "wtf/Allocator.h"
31 #include "wtf/text/WTFString.h" 31 #include "wtf/text/WTFString.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class DOMWindow; 35 class DOMWindow;
36 class EntryCallback;
37 class ErrorCallback; 36 class ErrorCallback;
38 class FileSystemCallback; 37 class FileSystemCallback;
38 class FileSystemEntryCallback;
39 39
40 class DOMWindowFileSystem { 40 class DOMWindowFileSystem {
41 STATIC_ONLY(DOMWindowFileSystem); 41 STATIC_ONLY(DOMWindowFileSystem);
42 42
43 public: 43 public:
44 static void webkitRequestFileSystem(DOMWindow&, 44 static void webkitRequestFileSystem(DOMWindow&,
45 int type, 45 int type,
46 long long size, 46 long long size,
47 FileSystemCallback*, 47 FileSystemCallback*,
48 ErrorCallback*); 48 ErrorCallback*);
49 static void webkitResolveLocalFileSystemURL(DOMWindow&, 49 static void webkitResolveLocalFileSystemURL(DOMWindow&,
50 const String&, 50 const String&,
51 EntryCallback*, 51 FileSystemEntryCallback*,
52 ErrorCallback*); 52 ErrorCallback*);
53 53
54 // They are placed here and in all capital letters so they can be checked 54 // They are placed here and in all capital letters so they can be checked
55 // against the constants in the IDL at compile time. 55 // against the constants in the IDL at compile time.
56 enum { 56 enum {
57 kTemporary, 57 kTemporary,
58 kPersistent, 58 kPersistent,
59 }; 59 };
60 }; 60 };
61 61
62 } // namespace blink 62 } // namespace blink
63 63
64 #endif // DOMWindowFileSystem_h 64 #endif // DOMWindowFileSystem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698