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

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

Issue 1362223002: Cleanup: Remove references to tests that no longer exists / are unused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 5 years, 2 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 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_REGISTER_JOB_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTER_JOB_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTER_JOB_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTER_JOB_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // ServiceWorkerRegisterJobBase implementation: 63 // ServiceWorkerRegisterJobBase implementation:
64 void Start() override; 64 void Start() override;
65 void Abort() override; 65 void Abort() override;
66 bool Equals(ServiceWorkerRegisterJobBase* job) const override; 66 bool Equals(ServiceWorkerRegisterJobBase* job) const override;
67 RegistrationJobType GetType() const override; 67 RegistrationJobType GetType() const override;
68 68
69 void DoomInstallingWorker(); 69 void DoomInstallingWorker();
70 70
71 private: 71 private:
72 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostWaitingVersionTest,
73 AssociateInstallingVersionToDocuments);
74 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostWaitingVersionTest,
75 DisassociateVersionFromDocuments);
76
77 enum Phase { 72 enum Phase {
78 INITIAL, 73 INITIAL,
79 START, 74 START,
80 REGISTER, 75 REGISTER,
81 UPDATE, 76 UPDATE,
82 INSTALL, 77 INSTALL,
83 STORE, 78 STORE,
84 COMPLETE, 79 COMPLETE,
85 ABORT, 80 ABORT,
86 }; 81 };
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 std::string promise_resolved_status_message_; 150 std::string promise_resolved_status_message_;
156 scoped_refptr<ServiceWorkerRegistration> promise_resolved_registration_; 151 scoped_refptr<ServiceWorkerRegistration> promise_resolved_registration_;
157 base::WeakPtrFactory<ServiceWorkerRegisterJob> weak_factory_; 152 base::WeakPtrFactory<ServiceWorkerRegisterJob> weak_factory_;
158 153
159 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRegisterJob); 154 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRegisterJob);
160 }; 155 };
161 156
162 } // namespace content 157 } // namespace content
163 158
164 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTER_JOB_H_ 159 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTER_JOB_H_
OLDNEW
« no previous file with comments | « components/translate/content/renderer/translate_helper.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698