summaryrefslogtreecommitdiff
path: root/chromium/content/browser/appcache/appcache_quota_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/appcache/appcache_quota_client.h')
-rw-r--r--chromium/content/browser/appcache/appcache_quota_client.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/chromium/content/browser/appcache/appcache_quota_client.h b/chromium/content/browser/appcache/appcache_quota_client.h
index 50dddd210cb..095c142f05a 100644
--- a/chromium/content/browser/appcache/appcache_quota_client.h
+++ b/chromium/content/browser/appcache/appcache_quota_client.h
@@ -17,7 +17,8 @@
#include "net/base/completion_callback.h"
#include "storage/browser/quota/quota_client.h"
#include "storage/browser/quota/quota_task.h"
-#include "third_party/WebKit/common/quota/quota_types.mojom.h"
+#include "third_party/WebKit/public/mojom/quota/quota_types.mojom.h"
+#include "url/origin.h"
namespace content {
class AppCacheQuotaClientTest;
@@ -38,17 +39,17 @@ class AppCacheQuotaClient : public storage::QuotaClient {
// QuotaClient method overrides
ID id() const override;
void OnQuotaManagerDestroyed() override;
- void GetOriginUsage(const GURL& origin,
+ void GetOriginUsage(const url::Origin& origin,
blink::mojom::StorageType type,
- const GetUsageCallback& callback) override;
+ GetUsageCallback callback) override;
void GetOriginsForType(blink::mojom::StorageType type,
- const GetOriginsCallback& callback) override;
+ GetOriginsCallback callback) override;
void GetOriginsForHost(blink::mojom::StorageType type,
const std::string& host,
- const GetOriginsCallback& callback) override;
- void DeleteOriginData(const GURL& origin,
+ GetOriginsCallback callback) override;
+ void DeleteOriginData(const url::Origin& origin,
blink::mojom::StorageType type,
- const DeletionCallback& callback) override;
+ DeletionCallback callback) override;
bool DoesSupport(blink::mojom::StorageType type) const override;
private:
@@ -62,7 +63,7 @@ class AppCacheQuotaClient : public storage::QuotaClient {
void DidDeleteAppCachesForOrigin(int rv);
void GetOriginsHelper(blink::mojom::StorageType type,
const std::string& opt_host,
- const GetOriginsCallback& callback);
+ GetOriginsCallback callback);
void ProcessPendingRequests();
void DeletePendingRequests();
const AppCacheStorage::UsageMap* GetUsageMap();