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

Side by Side Diff: storage/browser/fileapi/file_system_url_request_job_factory.h

Issue 1120553002: [storage] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Nits Created 5 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
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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/url_request/url_request_job_factory.h" 10 #include "net/url_request/url_request_job_factory.h"
11 11
12 #include "storage/browser/storage_browser_export.h" 12 #include "storage/browser/storage_browser_export.h"
13 13
14 namespace base {
15 class MessageLoopProxy;
16 } // namespace base
17
18 namespace storage { 14 namespace storage {
19 15
20 class FileSystemContext; 16 class FileSystemContext;
21 17
22 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler. 18 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler.
23 // Currently, this is only used by ProfileIOData which owns |context| and the 19 // Currently, this is only used by ProfileIOData which owns |context| and the
24 // ProtocolHandler. 20 // ProtocolHandler.
25 STORAGE_EXPORT net::URLRequestJobFactory::ProtocolHandler* 21 STORAGE_EXPORT net::URLRequestJobFactory::ProtocolHandler*
26 CreateFileSystemProtocolHandler(const std::string& storage_domain, 22 CreateFileSystemProtocolHandler(const std::string& storage_domain,
27 FileSystemContext* context); 23 FileSystemContext* context);
28 24
29 } // namespace storage 25 } // namespace storage
30 26
31 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ 27 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_system_url_request_job.cc ('k') | storage/browser/fileapi/file_writer_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698