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

Unified Diff: content/browser/appcache/appcache_url_loader_job.cc

Issue 2865613002: Add an abstraction for a job in the AppCacheRequestHandler class. (Closed)
Patch Set: Fix compile failures Created 3 years, 7 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_url_loader_job.cc
diff --git a/content/browser/appcache/appcache_url_loader_job.cc b/content/browser/appcache/appcache_url_loader_job.cc
new file mode 100644
index 0000000000000000000000000000000000000000..09f15459e3bd1a54fd050e1c1669795c9991956b
--- /dev/null
+++ b/content/browser/appcache/appcache_url_loader_job.cc
@@ -0,0 +1,53 @@
+// Copyright (c) 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/appcache/appcache_url_loader_job.h"
+#include "content/browser/appcache/appcache_entry.h"
+
+namespace content {
+
+AppCacheURLLoaderJob::~AppCacheURLLoaderJob() {}
+
+void AppCacheURLLoaderJob::Kill() {}
+
+bool AppCacheURLLoaderJob::IsStarted() const {
+ return false;
+}
+
+bool AppCacheURLLoaderJob::IsWaiting() const {
+ return false;
+}
+
+bool AppCacheURLLoaderJob::IsDeliveringAppCacheResponse() const {
+ return false;
+}
+
+bool AppCacheURLLoaderJob::IsDeliveringNetworkResponse() const {
+ return false;
+}
+
+bool AppCacheURLLoaderJob::IsDeliveringErrorResponse() const {
+ return false;
+}
+
+bool AppCacheURLLoaderJob::IsCacheEntryNotFound() const {
+ return false;
+}
+
+void AppCacheURLLoaderJob::DeliverAppCachedResponse(const GURL& manifest_url,
+ int64_t cache_id,
+ const AppCacheEntry& entry,
+ bool is_fallback) {}
+
+void AppCacheURLLoaderJob::DeliverNetworkResponse() {}
+
+void AppCacheURLLoaderJob::DeliverErrorResponse() {}
+
+const GURL& AppCacheURLLoaderJob::GetURL() const {
+ return url_;
+}
+
+AppCacheURLLoaderJob::AppCacheURLLoaderJob() {}
+
+} // namespace content
« no previous file with comments | « content/browser/appcache/appcache_url_loader_job.h ('k') | content/browser/appcache/appcache_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698