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

Side by Side Diff: webkit/tools/test_shell/simple_file_writer.h

Issue 15658004: Split FileAPI code for common|common_child|renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "webkit/fileapi/webfilewriter_base.h" 10 #include "webkit/renderer/fileapi/webfilewriter_base.h"
11 11
12 namespace net { 12 namespace net {
13 class URLRequestContext; 13 class URLRequestContext;
14 } // namespace net 14 } // namespace net
15 15
16 namespace fileapi { 16 namespace fileapi {
17 class FileSystemContext; 17 class FileSystemContext;
18 } 18 }
19 19
20 // An implementation of WebFileWriter for use in test_shell and DRT. 20 // An implementation of WebFileWriter for use in test_shell and DRT.
(...skipping 23 matching lines...) Expand all
44 virtual void DoCancel() OVERRIDE; 44 virtual void DoCancel() OVERRIDE;
45 45
46 private: 46 private:
47 class IOThreadProxy; 47 class IOThreadProxy;
48 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 48 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
49 scoped_refptr<IOThreadProxy> io_thread_proxy_; 49 scoped_refptr<IOThreadProxy> io_thread_proxy_;
50 static net::URLRequestContext* request_context_; 50 static net::URLRequestContext* request_context_;
51 }; 51 };
52 52
53 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_ 53 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_file_system.cc ('k') | webkit/tools/test_shell/simple_file_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698