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

Unified Diff: content/browser/fileapi/blob_storage_host.h

Issue 231923002: Move blob_storage_host from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 8 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
Index: content/browser/fileapi/blob_storage_host.h
diff --git a/webkit/browser/blob/blob_storage_host.h b/content/browser/fileapi/blob_storage_host.h
similarity index 87%
rename from webkit/browser/blob/blob_storage_host.h
rename to content/browser/fileapi/blob_storage_host.h
index 5296ae105e87935a223e8b6be535d8adec3bed10..eb736b2d239331ac61eb4205e55e86c71c8f7b1c 100644
--- a/webkit/browser/blob/blob_storage_host.h
+++ b/content/browser/fileapi/blob_storage_host.h
@@ -2,8 +2,8 @@
// 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_STORAGE_HOST_H_
-#define WEBKIT_BROWSER_BLOB_BLOB_STORAGE_HOST_H_
+#ifndef CONTENT_BROWSER_FILEAPI_STORAGE_HOST_H_
+#define CONTENT_BROWSER_FILEAPI_STORAGE_HOST_H_
#include <map>
#include <set>
@@ -11,23 +11,28 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
+#include "content/common/content_export.h"
#include "webkit/common/blob/blob_data.h"
class GURL;
namespace webkit_blob {
-
class BlobDataHandle;
class BlobStorageHost;
class BlobStorageContext;
+}
+
+using webkit_blob::BlobStorageContext;
+using webkit_blob::BlobData;
+
+namespace content {
// This class handles the logistics of blob storage for a single child process.
// There is one instance per child process. When the child process
// terminates all blob references attibutable to that process go away upon
// destruction of the instance. The class is single threaded and should
// only be used on the IO thread.
-class WEBKIT_STORAGE_BROWSER_EXPORT BlobStorageHost {
+class CONTENT_EXPORT BlobStorageHost {
public:
explicit BlobStorageHost(BlobStorageContext* context);
~BlobStorageHost();
@@ -66,6 +71,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT BlobStorageHost {
DISALLOW_COPY_AND_ASSIGN(BlobStorageHost);
};
-} // namespace webkit_blob
+} // namespace content
-#endif // WEBKIT_BROWSER_BLOB_BLOB_STORAGE_HOST_H_
+#endif // CONTENT_BROWSER_FILEAPI_STORAGE_HOST_H_
« no previous file with comments | « content/browser/fileapi/blob_storage_context_unittest.cc ('k') | content/browser/fileapi/blob_storage_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698