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

Side by Side Diff: content/browser/service_worker/service_worker_context_core.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_CONTEXT_CORE_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread, 101 const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread,
102 storage::QuotaManagerProxy* quota_manager_proxy, 102 storage::QuotaManagerProxy* quota_manager_proxy,
103 ObserverListThreadSafe<ServiceWorkerContextObserver>* observer_list, 103 ObserverListThreadSafe<ServiceWorkerContextObserver>* observer_list,
104 ServiceWorkerContextWrapper* wrapper); 104 ServiceWorkerContextWrapper* wrapper);
105 ServiceWorkerContextCore( 105 ServiceWorkerContextCore(
106 ServiceWorkerContextCore* old_context, 106 ServiceWorkerContextCore* old_context,
107 ServiceWorkerContextWrapper* wrapper); 107 ServiceWorkerContextWrapper* wrapper);
108 virtual ~ServiceWorkerContextCore(); 108 virtual ~ServiceWorkerContextCore();
109 109
110 // ServiceWorkerVersion::Listener overrides. 110 // ServiceWorkerVersion::Listener overrides.
111 virtual void OnWorkerStarted(ServiceWorkerVersion* version) OVERRIDE; 111 virtual void OnWorkerStarted(ServiceWorkerVersion* version) override;
112 virtual void OnWorkerStopped(ServiceWorkerVersion* version) OVERRIDE; 112 virtual void OnWorkerStopped(ServiceWorkerVersion* version) override;
113 virtual void OnVersionStateChanged(ServiceWorkerVersion* version) OVERRIDE; 113 virtual void OnVersionStateChanged(ServiceWorkerVersion* version) override;
114 virtual void OnErrorReported(ServiceWorkerVersion* version, 114 virtual void OnErrorReported(ServiceWorkerVersion* version,
115 const base::string16& error_message, 115 const base::string16& error_message,
116 int line_number, 116 int line_number,
117 int column_number, 117 int column_number,
118 const GURL& source_url) OVERRIDE; 118 const GURL& source_url) override;
119 virtual void OnReportConsoleMessage(ServiceWorkerVersion* version, 119 virtual void OnReportConsoleMessage(ServiceWorkerVersion* version,
120 int source_identifier, 120 int source_identifier,
121 int message_level, 121 int message_level,
122 const base::string16& message, 122 const base::string16& message,
123 int line_number, 123 int line_number,
124 const GURL& source_url) OVERRIDE; 124 const GURL& source_url) override;
125 125
126 ServiceWorkerStorage* storage() { return storage_.get(); } 126 ServiceWorkerStorage* storage() { return storage_.get(); }
127 ServiceWorkerCacheStorageManager* cache_manager() { 127 ServiceWorkerCacheStorageManager* cache_manager() {
128 return cache_manager_.get(); 128 return cache_manager_.get();
129 } 129 }
130 ServiceWorkerProcessManager* process_manager(); 130 ServiceWorkerProcessManager* process_manager();
131 EmbeddedWorkerRegistry* embedded_worker_registry() { 131 EmbeddedWorkerRegistry* embedded_worker_registry() {
132 return embedded_worker_registry_.get(); 132 return embedded_worker_registry_.get();
133 } 133 }
134 ServiceWorkerJobCoordinator* job_coordinator() { 134 ServiceWorkerJobCoordinator* job_coordinator() {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 int next_registration_handle_id_; 216 int next_registration_handle_id_;
217 scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> > 217 scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> >
218 observer_list_; 218 observer_list_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore); 220 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore);
221 }; 221 };
222 222
223 } // namespace content 223 } // namespace content
224 224
225 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ 225 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698