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

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

Issue 1841863003: DevTools: move the force update SW on reload checkbox to the Resources / Service Workers view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixed Created 4 years, 8 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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const std::string& uuid, 73 const std::string& uuid,
74 int process_id, 74 int process_id,
75 int route_id, 75 int route_id,
76 ServiceWorkerProviderType type) {} 76 ServiceWorkerProviderType type) {}
77 virtual void OnControlleeRemoved(int64_t version_id, 77 virtual void OnControlleeRemoved(int64_t version_id,
78 const std::string& uuid) {} 78 const std::string& uuid) {}
79 virtual void OnRegistrationStored(int64_t registration_id, 79 virtual void OnRegistrationStored(int64_t registration_id,
80 const GURL& pattern) {} 80 const GURL& pattern) {}
81 virtual void OnRegistrationDeleted(int64_t registration_id, 81 virtual void OnRegistrationDeleted(int64_t registration_id,
82 const GURL& pattern) {} 82 const GURL& pattern) {}
83 virtual void OnForceUpdateOnPageLoadChanged(int64_t registration_id,
84 bool force_update_on_page_load) {}
85 83
86 // Notified when the storage corruption recovery is completed and all stored 84 // Notified when the storage corruption recovery is completed and all stored
87 // data is wiped out. 85 // data is wiped out.
88 virtual void OnStorageWiped() {} 86 virtual void OnStorageWiped() {}
89 87
90 protected: 88 protected:
91 virtual ~ServiceWorkerContextObserver() {} 89 virtual ~ServiceWorkerContextObserver() {}
92 }; 90 };
93 91
94 } // namespace content 92 } // namespace content
95 93
96 #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