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

Unified Diff: content/common/cache_storage/cache_storage_messages.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
Index: content/common/cache_storage/cache_storage_messages.h
diff --git a/content/common/cache_storage/cache_storage_messages.h b/content/common/cache_storage/cache_storage_messages.h
index 277f960ee6e9ec08caea2aad4b4c6a49c9ceb36d..82fe7552d6cf0c2a2f7190d6ccbcb9d96dd72e9c 100644
--- a/content/common/cache_storage/cache_storage_messages.h
+++ b/content/common/cache_storage/cache_storage_messages.h
@@ -13,7 +13,7 @@
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_param_traits.h"
#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheError.h"
-#include "url/gurl.h"
+#include "url/origin.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
@@ -51,30 +51,30 @@ IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerCacheError,
IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageHas,
int /* thread_id */,
int /* request_id */,
- GURL /* origin */,
+ url::Origin /* origin */,
base::string16 /* fetch_store_name */)
IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageOpen,
int /* thread_id */,
int /* request_id */,
- GURL /* origin */,
+ url::Origin /* origin */,
base::string16 /* fetch_store_name */)
IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageDelete,
int /* thread_id */,
int /* request_id */,
- GURL /* origin */,
+ url::Origin /* origin */,
base::string16 /* fetch_store_name */)
IPC_MESSAGE_CONTROL3(CacheStorageHostMsg_CacheStorageKeys,
int /* thread_id */,
int /* request_id */,
- GURL /* origin */)
+ url::Origin /* origin */)
IPC_MESSAGE_CONTROL5(CacheStorageHostMsg_CacheStorageMatch,
int /* thread_id */,
int /* request_id */,
- GURL /* origin */,
+ url::Origin /* origin */,
content::ServiceWorkerFetchRequest,
content::CacheStorageCacheQueryParams)

Powered by Google App Engine
This is Rietveld 408576698