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

Unified Diff: webkit/fileapi/file_system_quota_util.h

Issue 15535006: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: webkit/fileapi/file_system_quota_util.h
diff --git a/webkit/fileapi/file_system_quota_util.h b/webkit/fileapi/file_system_quota_util.h
deleted file mode 100644
index c2b92b7253019aea3454824bbc6a092adfb6e28e..0000000000000000000000000000000000000000
--- a/webkit/fileapi/file_system_quota_util.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2012 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_FILEAPI_FILE_SYSTEM_QUOTA_UTIL_H_
-#define WEBKIT_FILEAPI_FILE_SYSTEM_QUOTA_UTIL_H_
-
-#include <set>
-#include <string>
-
-#include "base/basictypes.h"
-#include "googleurl/src/gurl.h"
-#include "webkit/fileapi/file_system_types.h"
-#include "webkit/storage/webkit_storage_export.h"
-
-namespace base {
-class SequencedTaskRunner;
-}
-
-namespace quota {
-class QuotaManagerProxy;
-}
-
-namespace fileapi {
-
-class FileSystemContext;
-
-// An abstract interface that provides common quota-related utility functions
-// for file_system_quota_client.
-// All the methods of this class are synchronous and need to be called on
-// the thread that the method name implies.
-class WEBKIT_STORAGE_EXPORT FileSystemQuotaUtil {
- public:
- virtual ~FileSystemQuotaUtil() {}
-
- virtual void GetOriginsForTypeOnFileThread(fileapi::FileSystemType type,
- std::set<GURL>* origins) = 0;
-
- virtual void GetOriginsForHostOnFileThread(fileapi::FileSystemType type,
- const std::string& host,
- std::set<GURL>* origins) = 0;
-
- // Returns the amount of data used for the origin for usage tracking.
- virtual int64 GetOriginUsageOnFileThread(
- fileapi::FileSystemContext* file_system_context,
- const GURL& origin_url,
- fileapi::FileSystemType type) = 0;
-
- virtual void InvalidateUsageCache(const GURL& origin_url,
- fileapi::FileSystemType type) = 0;
- virtual void StickyInvalidateUsageCache(const GURL& origin,
- fileapi::FileSystemType type) = 0;
-};
-
-} // namespace fileapi
-
-#endif // WEBKIT_FILEAPI_FILE_SYSTEM_QUOTA_UTIL_H_
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_writer_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698