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

Side by Side Diff: webkit/fileapi/file_system_task_runners.h

Issue 11103031: webkit: Merge blob and fileapi into one build target 'storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Leave *.gypi files in blob and fileapi Created 8 years, 2 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
« no previous file with comments | « webkit/fileapi/file_system_quota_util.h ('k') | webkit/fileapi/file_system_url.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FILEAPI_FILE_SYSTEM_TASK_RUNNERS_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_TASK_RUNNERS_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TASK_RUNNERS_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TASK_RUNNERS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "webkit/fileapi/fileapi_export.h" 10 #include "webkit/storage/webkit_storage_export.h"
11 11
12 namespace base { 12 namespace base {
13 class SequencedTaskRunner; 13 class SequencedTaskRunner;
14 class SingleThreadTaskRunner; 14 class SingleThreadTaskRunner;
15 } // namespace 15 } // namespace
16 16
17 namespace fileapi { 17 namespace fileapi {
18 18
19 // This class holds task runners used for filesystem related stuff. 19 // This class holds task runners used for filesystem related stuff.
20 class FILEAPI_EXPORT FileSystemTaskRunners { 20 class WEBKIT_STORAGE_EXPORT FileSystemTaskRunners {
21 public: 21 public:
22 FileSystemTaskRunners( 22 FileSystemTaskRunners(
23 base::SingleThreadTaskRunner* io_task_runner, 23 base::SingleThreadTaskRunner* io_task_runner,
24 base::SingleThreadTaskRunner* file_task_runner, 24 base::SingleThreadTaskRunner* file_task_runner,
25 base::SequencedTaskRunner* media_task_runner); 25 base::SequencedTaskRunner* media_task_runner);
26 26
27 ~FileSystemTaskRunners(); 27 ~FileSystemTaskRunners();
28 28
29 static scoped_ptr<FileSystemTaskRunners> CreateMockTaskRunners(); 29 static scoped_ptr<FileSystemTaskRunners> CreateMockTaskRunners();
30 30
(...skipping 13 matching lines...) Expand all
44 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 44 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
45 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; 45 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
46 scoped_refptr<base::SequencedTaskRunner> media_task_runner_; 46 scoped_refptr<base::SequencedTaskRunner> media_task_runner_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(FileSystemTaskRunners); 48 DISALLOW_COPY_AND_ASSIGN(FileSystemTaskRunners);
49 }; 49 };
50 50
51 } // namespace fileapi 51 } // namespace fileapi
52 52
53 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TASK_RUNNERS_H_ 53 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TASK_RUNNERS_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_quota_util.h ('k') | webkit/fileapi/file_system_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698