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

Unified Diff: content/browser/appcache/appcache_storage.h

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Fixed Ozone build. Created 4 years, 8 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/browser/appcache/appcache_storage.h
diff --git a/content/browser/appcache/appcache_storage.h b/content/browser/appcache/appcache_storage.h
index 42638b8f24eb3997f83de2a1d1e9f47a8872a37d..f4ba834b6eee6a5a6eaae83ba388750cadf35ecd 100644
--- a/content/browser/appcache/appcache_storage.h
+++ b/content/browser/appcache/appcache_storage.h
@@ -173,17 +173,15 @@ class CONTENT_EXPORT AppCacheStorage {
// Creates a reader to read a response from storage.
virtual AppCacheResponseReader* CreateResponseReader(const GURL& manifest_url,
- int64_t group_id,
int64_t response_id) = 0;
// Creates a writer to write a new response to storage. This call
// establishes a new response id.
- virtual AppCacheResponseWriter* CreateResponseWriter(const GURL& manifest_url,
- int64_t group_id) = 0;
+ virtual AppCacheResponseWriter* CreateResponseWriter(
+ const GURL& manifest_url) = 0;
// Creates a metadata writer to write metadata of response to storage.
virtual AppCacheResponseMetadataWriter* CreateResponseMetadataWriter(
- int64_t group_id,
int64_t response_id) = 0;
// Schedules the lazy deletion of responses and saves the ids
@@ -254,14 +252,12 @@ class CONTENT_EXPORT AppCacheStorage {
class ResponseInfoLoadTask {
public:
ResponseInfoLoadTask(const GURL& manifest_url,
- int64_t group_id,
int64_t response_id,
AppCacheStorage* storage);
~ResponseInfoLoadTask();
int64_t response_id() const { return response_id_; }
const GURL& manifest_url() const { return manifest_url_; }
- int64_t group_id() const { return group_id_; }
void AddDelegate(DelegateReference* delegate_reference) {
delegates_.push_back(delegate_reference);
@@ -274,7 +270,6 @@ class CONTENT_EXPORT AppCacheStorage {
AppCacheStorage* storage_;
GURL manifest_url_;
- int64_t group_id_;
int64_t response_id_;
std::unique_ptr<AppCacheResponseReader> reader_;
DelegateReferenceVector delegates_;
@@ -300,13 +295,12 @@ class CONTENT_EXPORT AppCacheStorage {
ResponseInfoLoadTask* GetOrCreateResponseInfoLoadTask(
const GURL& manifest_url,
- int64_t group_id,
int64_t response_id) {
PendingResponseInfoLoads::iterator iter =
pending_info_loads_.find(response_id);
if (iter != pending_info_loads_.end())
return iter->second;
- return new ResponseInfoLoadTask(manifest_url, group_id, response_id, this);
+ return new ResponseInfoLoadTask(manifest_url, response_id, this);
}
// Should only be called when creating a new response writer.

Powered by Google App Engine
This is Rietveld 408576698