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

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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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_CONTEXT_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_OBSERVER_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_OBSERVER_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_OBSERVER_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/browser/service_worker/service_worker_version.h" 10 #include "content/browser/service_worker/service_worker_version.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual void OnRegistrationDeleted(int64 registration_id, 78 virtual void OnRegistrationDeleted(int64 registration_id,
79 const GURL& pattern) {} 79 const GURL& pattern) {}
80 virtual void OnForceUpdateOnPageLoadChanged(int64 registration_id, 80 virtual void OnForceUpdateOnPageLoadChanged(int64 registration_id,
81 bool force_update_on_page_load) {} 81 bool force_update_on_page_load) {}
82 82
83 // Notified when the storage corruption recovery is completed and all stored 83 // Notified when the storage corruption recovery is completed and all stored
84 // data is wiped out. 84 // data is wiped out.
85 virtual void OnStorageWiped() {} 85 virtual void OnStorageWiped() {}
86 86
87 protected: 87 protected:
88 ServiceWorkerContextObserver() = default;
88 virtual ~ServiceWorkerContextObserver() {} 89 virtual ~ServiceWorkerContextObserver() {}
89 }; 90 };
90 91
91 } // namespace content 92 } // namespace content
92 93
93 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_OBSERVER_H_ 94 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698