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

Side by Side Diff: content/browser/service_worker/service_worker_context_wrapper.h

Issue 1429753002: ServiceWorker: Remove dead code from ServiceWorkerContextWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix "include" dependency Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ServiceWorkerProcessManager* process_manager() { 81 ServiceWorkerProcessManager* process_manager() {
82 return process_manager_.get(); 82 return process_manager_.get();
83 } 83 }
84 84
85 // ServiceWorkerContext implementation: 85 // ServiceWorkerContext implementation:
86 void RegisterServiceWorker(const GURL& pattern, 86 void RegisterServiceWorker(const GURL& pattern,
87 const GURL& script_url, 87 const GURL& script_url,
88 const ResultCallback& continuation) override; 88 const ResultCallback& continuation) override;
89 void UnregisterServiceWorker(const GURL& pattern, 89 void UnregisterServiceWorker(const GURL& pattern,
90 const ResultCallback& continuation) override; 90 const ResultCallback& continuation) override;
91 void CanHandleMainResourceOffline(
92 const GURL& url,
93 const GURL& first_party,
94 const net::CompletionCallback& callback) override;
95 void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override; 91 void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override;
96 void DeleteForOrigin(const GURL& origin, 92 void DeleteForOrigin(const GURL& origin,
97 const ResultCallback& callback) override; 93 const ResultCallback& callback) override;
98 void CheckHasServiceWorker( 94 void CheckHasServiceWorker(
99 const GURL& url, 95 const GURL& url,
100 const GURL& other_url, 96 const GURL& other_url,
101 const CheckHasServiceWorkerCallback& callback) override; 97 const CheckHasServiceWorkerCallback& callback) override;
102 void StopAllServiceWorkersForOrigin(const GURL& origin) override; 98 void StopAllServiceWorkersForOrigin(const GURL& origin) override;
103 void ClearAllServiceWorkersForTest(const base::Closure& callback) override; 99 void ClearAllServiceWorkersForTest(const base::Closure& callback) override;
104 100
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 214
219 // The ResourceContext associated with this context. 215 // The ResourceContext associated with this context.
220 ResourceContext* resource_context_; 216 ResourceContext* resource_context_;
221 217
222 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper); 218 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper);
223 }; 219 };
224 220
225 } // namespace content 221 } // namespace content
226 222
227 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ 223 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698