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

Unified Diff: webkit/browser/blob/blob_url_request_job_factory.h

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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/browser/blob/blob_url_request_job.cc ('k') | webkit/browser/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/blob_url_request_job_factory.h
diff --git a/webkit/browser/blob/blob_url_request_job_factory.h b/webkit/browser/blob/blob_url_request_job_factory.h
index 75bfe9ae83798d76282a45593dca659535109671..b39167c0ebbe2bb18d18cbe43166e8d0e6c951e0 100644
--- a/webkit/browser/blob/blob_url_request_job_factory.h
+++ b/webkit/browser/blob/blob_url_request_job_factory.h
@@ -1,71 +1,5 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_FACTORY_H_
-#define WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_FACTORY_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "net/url_request/url_request.h"
-#include "net/url_request/url_request_job_factory.h"
-#include "webkit/browser/storage_browser_export.h"
-
-namespace base {
-class MessageLoopProxy;
-} // namespace base
-
-namespace storage {
-class FileSystemContext;
-} // namespace storage
-
-namespace net {
-class URLRequestContext;
-} // namespace net
-
-namespace storage {
-
-class BlobData;
-class BlobDataHandle;
-class BlobStorageContext;
-
-class STORAGE_EXPORT BlobProtocolHandler
- : public net::URLRequestJobFactory::ProtocolHandler {
- public:
- // A helper to manufacture an URLRequest to retrieve the given blob.
- static scoped_ptr<net::URLRequest> CreateBlobRequest(
- scoped_ptr<BlobDataHandle> blob_data_handle,
- const net::URLRequestContext* request_context,
- net::URLRequest::Delegate* request_delegate);
-
- // This class ignores the request's URL and uses the value given
- // to SetRequestedBlobDataHandle instead.
- static void SetRequestedBlobDataHandle(
- net::URLRequest* request,
- scoped_ptr<BlobDataHandle> blob_data_handle);
-
- BlobProtocolHandler(
- BlobStorageContext* context,
- storage::FileSystemContext* file_system_context,
- const scoped_refptr<base::MessageLoopProxy>& file_loop_proxy);
- virtual ~BlobProtocolHandler();
-
- virtual net::URLRequestJob* MaybeCreateJob(
- net::URLRequest* request,
- net::NetworkDelegate* network_delegate) const OVERRIDE;
-
- private:
- scoped_refptr<BlobData> LookupBlobData(
- net::URLRequest* request) const;
-
- base::WeakPtr<BlobStorageContext> context_;
- const scoped_refptr<storage::FileSystemContext> file_system_context_;
- const scoped_refptr<base::MessageLoopProxy> file_loop_proxy_;
-
- DISALLOW_COPY_AND_ASSIGN(BlobProtocolHandler);
-};
-
-} // namespace storage
-
-#endif // WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_FACTORY_H_
+#include "storage/browser/blob/blob_url_request_job_factory.h"
« no previous file with comments | « webkit/browser/blob/blob_url_request_job.cc ('k') | webkit/browser/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698