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

Side by Side Diff: Source/WebKit/chromium/src/WorkerAsyncFileSystemChromium.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 namespace WebKit { 39 namespace WebKit {
40 class WebFileSystem; 40 class WebFileSystem;
41 class WebURL; 41 class WebURL;
42 class WorkerFileSystemCallbacksBridge; 42 class WorkerFileSystemCallbacksBridge;
43 } 43 }
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 class AsyncFileSystemCallbacks; 47 class AsyncFileSystemCallbacks;
48 class ScriptExecutionContext; 48 class ScriptExecutionContext;
49 class WorkerContext; 49 class WorkerGlobalScope;
50 class WorkerLoaderProxy; 50 class WorkerLoaderProxy;
51 51
52 class WorkerAsyncFileSystemChromium : public AsyncFileSystemChromium { 52 class WorkerAsyncFileSystemChromium : public AsyncFileSystemChromium {
53 public: 53 public:
54 static PassOwnPtr<AsyncFileSystem> create(ScriptExecutionContext* context, F ileSystemSynchronousType synchronousType) 54 static PassOwnPtr<AsyncFileSystem> create(ScriptExecutionContext* context, F ileSystemSynchronousType synchronousType)
55 { 55 {
56 return adoptPtr(new WorkerAsyncFileSystemChromium(context, synchronousTy pe)); 56 return adoptPtr(new WorkerAsyncFileSystemChromium(context, synchronousTy pe));
57 } 57 }
58 58
59 virtual ~WorkerAsyncFileSystemChromium(); 59 virtual ~WorkerAsyncFileSystemChromium();
(...skipping 14 matching lines...) Expand all
74 virtual void createWriter(AsyncFileWriterClient*, const KURL& path, PassOwnP tr<AsyncFileSystemCallbacks>); 74 virtual void createWriter(AsyncFileWriterClient*, const KURL& path, PassOwnP tr<AsyncFileSystemCallbacks>);
75 virtual void createSnapshotFileAndReadMetadata(const KURL& path, PassOwnPtr< AsyncFileSystemCallbacks>); 75 virtual void createSnapshotFileAndReadMetadata(const KURL& path, PassOwnPtr< AsyncFileSystemCallbacks>);
76 76
77 private: 77 private:
78 WorkerAsyncFileSystemChromium(ScriptExecutionContext*, FileSystemSynchronous Type); 78 WorkerAsyncFileSystemChromium(ScriptExecutionContext*, FileSystemSynchronous Type);
79 79
80 PassRefPtr<WebKit::WorkerFileSystemCallbacksBridge> createWorkerFileSystemCa llbacksBridge(PassOwnPtr<AsyncFileSystemCallbacks>); 80 PassRefPtr<WebKit::WorkerFileSystemCallbacksBridge> createWorkerFileSystemCa llbacksBridge(PassOwnPtr<AsyncFileSystemCallbacks>);
81 81
82 ScriptExecutionContext* m_scriptExecutionContext; 82 ScriptExecutionContext* m_scriptExecutionContext;
83 WorkerLoaderProxy* m_workerLoaderProxy; 83 WorkerLoaderProxy* m_workerLoaderProxy;
84 WorkerContext* m_workerContext; 84 WorkerGlobalScope* m_workerGlobalScope;
85 RefPtr<WebKit::WorkerFileSystemCallbacksBridge> m_bridgeForCurrentOperation; 85 RefPtr<WebKit::WorkerFileSystemCallbacksBridge> m_bridgeForCurrentOperation;
86 String m_modeForCurrentOperation; 86 String m_modeForCurrentOperation;
87 FileSystemSynchronousType m_synchronousType; 87 FileSystemSynchronousType m_synchronousType;
88 }; 88 };
89 89
90 } // namespace WebCore 90 } // namespace WebCore
91 91
92 #endif // WorkerAsyncFileSystemChromium_h 92 #endif // WorkerAsyncFileSystemChromium_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698