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

Unified Diff: Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.cpp

Issue 789413003: Oilpan: fix build after r186900. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add some more transition types Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.cpp
diff --git a/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.cpp b/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.cpp
index 0f52c2b8bd269780c9783538982cc5cdbbdbf036..bb96848fbc9370b3cb32758b0948230efe5565dd 100644
--- a/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.cpp
+++ b/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.cpp
@@ -79,7 +79,7 @@ class RequestCacheNames
WTF_MAKE_NONCOPYABLE(RequestCacheNames);
public:
- RequestCacheNames(PassRefPtr<RequestCacheNamesCallback> callback)
+ RequestCacheNames(PassRefPtrWillBeRawPtr<RequestCacheNamesCallback> callback)
: m_callback(callback)
{
}
@@ -101,7 +101,7 @@ public:
}
private:
- RefPtr<RequestCacheNamesCallback> m_callback;
+ RefPtrWillBePersistent<RequestCacheNamesCallback> m_callback;
};
struct DataRequestParams {
@@ -125,7 +125,7 @@ class ResponsesAccumulator : public RefCounted<ResponsesAccumulator> {
WTF_MAKE_NONCOPYABLE(ResponsesAccumulator);
public:
- ResponsesAccumulator(int numResponses, const DataRequestParams& params, PassRefPtr<RequestEntriesCallback> callback)
+ ResponsesAccumulator(int numResponses, const DataRequestParams& params, PassRefPtrWillBeRawPtr<RequestEntriesCallback> callback)
: m_params(params)
, m_numResponsesLeft(numResponses)
, m_responses(static_cast<size_t>(numResponses))
@@ -169,7 +169,7 @@ private:
DataRequestParams m_params;
int m_numResponsesLeft;
Vector<RequestResponse> m_responses;
- RefPtr<RequestEntriesCallback> m_callback;
+ RefPtrWillBePersistent<RequestEntriesCallback> m_callback;
};
class GetCacheResponsesForRequestData : public WebServiceWorkerCache::CacheMatchCallbacks {
@@ -178,7 +178,7 @@ class GetCacheResponsesForRequestData : public WebServiceWorkerCache::CacheMatch
public:
GetCacheResponsesForRequestData(
const DataRequestParams& params, const WebServiceWorkerRequest& request,
- PassRefPtr<ResponsesAccumulator> accum, PassRefPtr<RequestEntriesCallback> callback)
+ PassRefPtr<ResponsesAccumulator> accum, PassRefPtrWillBeRawPtr<RequestEntriesCallback> callback)
: m_params(params)
, m_request(request)
, m_accumulator(accum)
@@ -201,14 +201,14 @@ private:
DataRequestParams m_params;
WebServiceWorkerRequest m_request;
RefPtr<ResponsesAccumulator> m_accumulator;
- RefPtr<RequestEntriesCallback> m_callback;
+ RefPtrWillBePersistent<RequestEntriesCallback> m_callback;
};
class GetCacheKeysForRequestData : public WebServiceWorkerCache::CacheWithRequestsCallbacks {
WTF_MAKE_NONCOPYABLE(GetCacheKeysForRequestData);
public:
- GetCacheKeysForRequestData(const DataRequestParams& params, PassOwnPtr<WebServiceWorkerCache> cache, PassRefPtr<RequestEntriesCallback> callback)
+ GetCacheKeysForRequestData(const DataRequestParams& params, PassOwnPtr<WebServiceWorkerCache> cache, PassRefPtrWillBeRawPtr<RequestEntriesCallback> callback)
: m_params(params)
, m_cache(cache)
, m_callback(callback)
@@ -235,7 +235,7 @@ public:
private:
DataRequestParams m_params;
OwnPtr<WebServiceWorkerCache> m_cache;
- RefPtr<RequestEntriesCallback> m_callback;
+ RefPtrWillBePersistent<RequestEntriesCallback> m_callback;
};
class GetCacheForRequestData
@@ -243,7 +243,7 @@ class GetCacheForRequestData
WTF_MAKE_NONCOPYABLE(GetCacheForRequestData);
public:
- GetCacheForRequestData(const DataRequestParams& params, PassRefPtr<RequestEntriesCallback> callback)
+ GetCacheForRequestData(const DataRequestParams& params, PassRefPtrWillBeRawPtr<RequestEntriesCallback> callback)
: m_params(params)
, m_callback(callback)
{
@@ -263,14 +263,14 @@ public:
private:
DataRequestParams m_params;
- RefPtr<RequestEntriesCallback> m_callback;
+ RefPtrWillBePersistent<RequestEntriesCallback> m_callback;
};
class DeleteCache : public WebServiceWorkerCacheStorage::CacheStorageCallbacks {
WTF_MAKE_NONCOPYABLE(DeleteCache);
public:
- DeleteCache(PassRefPtr<DeleteCacheCallback> callback)
+ DeleteCache(PassRefPtrWillBeRawPtr<DeleteCacheCallback> callback)
: m_callback(callback)
{
}
@@ -287,7 +287,7 @@ public:
}
private:
- RefPtr<DeleteCacheCallback> m_callback;
+ RefPtrWillBePersistent<DeleteCacheCallback> m_callback;
};
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698