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

Unified Diff: webkit/fileapi/file_system_url_request_job_factory.h

Issue 7036004: Remove more URLRequest::RegisterProtocolFactory calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup nits. Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/blob/webkit_blob.gypi ('k') | webkit/fileapi/file_system_url_request_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_url_request_job_factory.h
diff --git a/chrome/browser/net/file_system_url_request_job_factory.h b/webkit/fileapi/file_system_url_request_job_factory.h
similarity index 57%
rename from chrome/browser/net/file_system_url_request_job_factory.h
rename to webkit/fileapi/file_system_url_request_job_factory.h
index 1051715f9d7199515195e94bdc83a0458a144cdc..77e955d1b09f82e0e2d756422e19090dca996a4b 100644
--- a/chrome/browser/net/file_system_url_request_job_factory.h
+++ b/webkit/fileapi/file_system_url_request_job_factory.h
@@ -2,19 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_NET_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
-#define CHROME_BROWSER_NET_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
+#ifndef WEBKIT_FILE_SYSTEM_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
+#define WEBKIT_FILE_SYSTEM_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
#include "net/url_request/url_request_job_factory.h"
+namespace base {
+class MessageLoopProxy;
+} // namespace base
+
namespace fileapi {
+
class FileSystemContext;
-} // namespace fileapi
// |context|'s lifetime should exceed the lifetime of the ProtocolHandler.
// Currently, this is only used by ProfileIOData which owns |context| and the
// ProtocolHandler.
net::URLRequestJobFactory::ProtocolHandler*
-CreateFileSystemProtocolHandler(fileapi::FileSystemContext* context);
+CreateFileSystemProtocolHandler(FileSystemContext* context,
+ base::MessageLoopProxy* file_loop_proxy);
+
+} // namespace fileapi
-#endif // CHROME_BROWSER_NET_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
+#endif // WEBKIT_FILE_SYSTEM_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
« no previous file with comments | « webkit/blob/webkit_blob.gypi ('k') | webkit/fileapi/file_system_url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698