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

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

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UNREGISTER_JOB_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UNREGISTER_JOB_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UNREGISTER_JOB_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UNREGISTER_JOB_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback_forward.h"
13 #include "base/macros.h" 12 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
15 #include "content/browser/service_worker/service_worker_register_job_base.h" 14 #include "content/browser/service_worker/service_worker_register_job_base.h"
16 #include "content/common/service_worker/service_worker_status_code.h" 15 #include "content/common/service_worker/service_worker_status_code.h"
17 #include "url/gurl.h" 16 #include "url/gurl.h"
18 17
19 namespace content { 18 namespace content {
20 19
21 class ServiceWorkerContextCore; 20 class ServiceWorkerContextCore;
22 class ServiceWorkerRegistration; 21 class ServiceWorkerRegistration;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const GURL pattern_; 58 const GURL pattern_;
60 std::vector<UnregistrationCallback> callbacks_; 59 std::vector<UnregistrationCallback> callbacks_;
61 bool is_promise_resolved_; 60 bool is_promise_resolved_;
62 base::WeakPtrFactory<ServiceWorkerUnregisterJob> weak_factory_; 61 base::WeakPtrFactory<ServiceWorkerUnregisterJob> weak_factory_;
63 62
64 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerUnregisterJob); 63 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerUnregisterJob);
65 }; 64 };
66 } // namespace content 65 } // namespace content
67 66
68 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UNREGISTER_JOB_H_ 67 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UNREGISTER_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698