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

Unified Diff: webkit/browser/blob/view_blob_internals_job.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/local_file_stream_reader.cc ('k') | webkit/browser/blob/view_blob_internals_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/view_blob_internals_job.h
diff --git a/webkit/browser/blob/view_blob_internals_job.h b/webkit/browser/blob/view_blob_internals_job.h
index 9fcf33dc84bd311f14da9ed4caf0c971cf65e816..21b33d3b31c6dfb722c0872ededed874d25603c5 100644
--- a/webkit/browser/blob/view_blob_internals_job.h
+++ b/webkit/browser/blob/view_blob_internals_job.h
@@ -1,57 +1,5 @@
-// Copyright (c) 2012 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_VIEW_BLOB_INTERNALS_JOB_H_
-#define WEBKIT_BROWSER_BLOB_VIEW_BLOB_INTERNALS_JOB_H_
-
-#include <string>
-
-#include "base/memory/weak_ptr.h"
-#include "net/url_request/url_request_simple_job.h"
-#include "webkit/browser/storage_browser_export.h"
-
-namespace net {
-class URLRequest;
-} // namespace net
-
-namespace storage {
-
-class BlobData;
-class BlobStorageContext;
-
-// A job subclass that implements a protocol to inspect the internal
-// state of blob registry.
-class STORAGE_EXPORT ViewBlobInternalsJob
- : public net::URLRequestSimpleJob {
- public:
- ViewBlobInternalsJob(net::URLRequest* request,
- net::NetworkDelegate* network_delegate,
- BlobStorageContext* blob_storage_context);
-
- virtual void Start() OVERRIDE;
- virtual int GetData(std::string* mime_type,
- std::string* charset,
- std::string* data,
- const net::CompletionCallback& callback) const OVERRIDE;
- virtual bool IsRedirectResponse(GURL* location,
- int* http_status_code) OVERRIDE;
- virtual void Kill() OVERRIDE;
-
- private:
- virtual ~ViewBlobInternalsJob();
-
- void GenerateHTML(std::string* out) const;
- static void GenerateHTMLForBlobData(const BlobData& blob_data,
- int refcount,
- std::string* out);
-
- BlobStorageContext* blob_storage_context_;
- base::WeakPtrFactory<ViewBlobInternalsJob> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(ViewBlobInternalsJob);
-};
-
-} // namespace storage
-
-#endif // WEBKIT_BROWSER_BLOB_VIEW_BLOB_INTERNALS_JOB_H_
+#include "storage/browser/blob/view_blob_internals_job.h"
« no previous file with comments | « webkit/browser/blob/local_file_stream_reader.cc ('k') | webkit/browser/blob/view_blob_internals_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698