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

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

Issue 15994002: Move more browser-specific webkit/fileapi code to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_task_runners.h ('k') | webkit/fileapi/file_system_url.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "webkit/fileapi/file_system_task_runners.h"
6
7 #include "base/message_loop_proxy.h"
8 #include "base/sequenced_task_runner.h"
9 #include "base/single_thread_task_runner.h"
10
11 namespace fileapi {
12
13 const char kMediaTaskRunnerName[] = "media-task-runner";
14
15 FileSystemTaskRunners::FileSystemTaskRunners(
16 base::SingleThreadTaskRunner* io_task_runner,
17 base::SingleThreadTaskRunner* file_task_runner,
18 base::SequencedTaskRunner* media_task_runner)
19 : io_task_runner_(io_task_runner),
20 file_task_runner_(file_task_runner),
21 media_task_runner_(media_task_runner) {
22 }
23
24 // static
25 scoped_ptr<FileSystemTaskRunners>
26 FileSystemTaskRunners::CreateMockTaskRunners() {
27 return make_scoped_ptr(new FileSystemTaskRunners(
28 base::MessageLoopProxy::current(),
29 base::MessageLoopProxy::current(),
30 base::MessageLoopProxy::current()));
31 }
32
33 FileSystemTaskRunners::~FileSystemTaskRunners() {
34 }
35
36 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_task_runners.h ('k') | webkit/fileapi/file_system_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698