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

Unified Diff: content/browser/cache_storage/cache_storage_dispatcher_host.h

Issue 1826103002: CacheStorage: Pass url::Origin rather than GURL over IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-idb
Patch Set: Add missing include Created 4 years, 9 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 | « no previous file | content/browser/cache_storage/cache_storage_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage_dispatcher_host.h
diff --git a/content/browser/cache_storage/cache_storage_dispatcher_host.h b/content/browser/cache_storage/cache_storage_dispatcher_host.h
index 3ae680b9961b7e9498d50338c2add9cc018bb04c..14cfe301efb2573643a0fba7f5376a5e37658345 100644
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.h
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.h
@@ -13,6 +13,10 @@
#include "content/browser/cache_storage/cache_storage.h"
#include "content/public/browser/browser_message_filter.h"
+namespace url {
+class Origin;
+}
+
namespace content {
class CacheStorageContextImpl;
@@ -49,20 +53,22 @@ class CONTENT_EXPORT CacheStorageDispatcherHost : public BrowserMessageFilter {
// The message receiver functions for the CacheStorage API:
void OnCacheStorageHas(int thread_id,
int request_id,
- const GURL& origin,
+ const url::Origin& origin,
const base::string16& cache_name);
void OnCacheStorageOpen(int thread_id,
int request_id,
- const GURL& origin,
+ const url::Origin& origin,
const base::string16& cache_name);
void OnCacheStorageDelete(int thread_id,
int request_id,
- const GURL& origin,
+ const url::Origin& origin,
const base::string16& cache_name);
- void OnCacheStorageKeys(int thread_id, int request_id, const GURL& origin);
+ void OnCacheStorageKeys(int thread_id,
+ int request_id,
+ const url::Origin& origin);
void OnCacheStorageMatch(int thread_id,
int request_id,
- const GURL& origin,
+ const url::Origin& origin,
const ServiceWorkerFetchRequest& request,
const CacheStorageCacheQueryParams& match_params);
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698