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

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

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 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_PROVIDER_HOST_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 private: 127 private:
128 friend class ServiceWorkerProviderHostTest; 128 friend class ServiceWorkerProviderHostTest;
129 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, 129 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
130 UpdateBefore24Hours); 130 UpdateBefore24Hours);
131 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, 131 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
132 UpdateAfter24Hours); 132 UpdateAfter24Hours);
133 133
134 // ServiceWorkerRegistration::Listener overrides. 134 // ServiceWorkerRegistration::Listener overrides.
135 virtual void OnRegistrationFailed( 135 virtual void OnRegistrationFailed(
136 ServiceWorkerRegistration* registration) OVERRIDE; 136 ServiceWorkerRegistration* registration) override;
137 137
138 // Sets the controller version field to |version| or if |version| is NULL, 138 // Sets the controller version field to |version| or if |version| is NULL,
139 // clears the field. 139 // clears the field.
140 void SetControllerVersionAttribute(ServiceWorkerVersion* version); 140 void SetControllerVersionAttribute(ServiceWorkerVersion* version);
141 141
142 // Creates a ServiceWorkerHandle to retain |version| and returns a 142 // Creates a ServiceWorkerHandle to retain |version| and returns a
143 // ServiceWorkerInfo with the handle ID to pass to the provider. The 143 // ServiceWorkerInfo with the handle ID to pass to the provider. The
144 // provider is responsible for releasing the handle. 144 // provider is responsible for releasing the handle.
145 ServiceWorkerObjectInfo CreateHandleAndPass(ServiceWorkerVersion* version); 145 ServiceWorkerObjectInfo CreateHandleAndPass(ServiceWorkerVersion* version);
146 146
(...skipping 13 matching lines...) Expand all
160 base::WeakPtr<ServiceWorkerContextCore> context_; 160 base::WeakPtr<ServiceWorkerContextCore> context_;
161 ServiceWorkerDispatcherHost* dispatcher_host_; 161 ServiceWorkerDispatcherHost* dispatcher_host_;
162 bool allow_association_; 162 bool allow_association_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); 164 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost);
165 }; 165 };
166 166
167 } // namespace content 167 } // namespace content
168 168
169 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ 169 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698