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

Side by Side Diff: Source/modules/filesystem/WorkerGlobalScopeFileSystem.h

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.h ('k') | Source/platform/AsyncFileSystemCallbacks.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 /* 1 /*
2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
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 22 matching lines...) Expand all
33 namespace blink { 33 namespace blink {
34 34
35 class EntryCallback; 35 class EntryCallback;
36 class EntrySync; 36 class EntrySync;
37 class ErrorCallback; 37 class ErrorCallback;
38 class ExceptionState; 38 class ExceptionState;
39 class FileSystemCallback; 39 class FileSystemCallback;
40 class WorkerGlobalScope; 40 class WorkerGlobalScope;
41 41
42 class WorkerGlobalScopeFileSystem { 42 class WorkerGlobalScopeFileSystem {
43 STATIC_ONLY(WorkerGlobalScopeFileSystem);
43 public: 44 public:
44 enum { 45 enum {
45 TEMPORARY, 46 TEMPORARY,
46 PERSISTENT, 47 PERSISTENT,
47 }; 48 };
48 49
49 static void webkitRequestFileSystem(WorkerGlobalScope&, int type, long long size, FileSystemCallback* successCallback, ErrorCallback*); 50 static void webkitRequestFileSystem(WorkerGlobalScope&, int type, long long size, FileSystemCallback* successCallback, ErrorCallback*);
50 static DOMFileSystemSync* webkitRequestFileSystemSync(WorkerGlobalScope&, in t type, long long size, ExceptionState&); 51 static DOMFileSystemSync* webkitRequestFileSystemSync(WorkerGlobalScope&, in t type, long long size, ExceptionState&);
51 static void webkitResolveLocalFileSystemURL(WorkerGlobalScope&, const String & url, EntryCallback* successCallback, ErrorCallback*); 52 static void webkitResolveLocalFileSystemURL(WorkerGlobalScope&, const String & url, EntryCallback* successCallback, ErrorCallback*);
52 static EntrySync* webkitResolveLocalFileSystemSyncURL(WorkerGlobalScope&, co nst String& url, ExceptionState&); 53 static EntrySync* webkitResolveLocalFileSystemSyncURL(WorkerGlobalScope&, co nst String& url, ExceptionState&);
53
54 private:
55 WorkerGlobalScopeFileSystem();
56 ~WorkerGlobalScopeFileSystem();
57 }; 54 };
58 55
59 } // namespace blink 56 } // namespace blink
60 57
61 #endif // WorkerGlobalScopeFileSystem_h 58 #endif // WorkerGlobalScopeFileSystem_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.h ('k') | Source/platform/AsyncFileSystemCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698