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

Side by Side Diff: content/browser/service_worker/service_worker_context_watcher.cc

Issue 2931033003: Rename ServiceWorkerContextObserver to ServiceWorkerContextCoreObserver. (Closed)
Patch Set: Typo Created 3 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "content/browser/service_worker/service_worker_context_watcher.h" 5 #include "content/browser/service_worker/service_worker_context_watcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "content/browser/service_worker/embedded_worker_status.h" 11 #include "content/browser/service_worker/embedded_worker_status.h"
12 #include "content/browser/service_worker/service_worker_context_observer.h"
13 #include "content/browser/service_worker/service_worker_context_wrapper.h" 12 #include "content/browser/service_worker/service_worker_context_wrapper.h"
14 #include "content/browser/service_worker/service_worker_version.h" 13 #include "content/browser/service_worker/service_worker_version.h"
15 #include "content/common/service_worker/service_worker_types.h" 14 #include "content/common/service_worker/service_worker_types.h"
16 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
17 #include "content/public/common/console_message_level.h" 16 #include "content/public/common/console_message_level.h"
18 #include "url/gurl.h" 17 #include "url/gurl.h"
19 18
20 namespace content { 19 namespace content {
21 namespace { 20 namespace {
22 21
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 ServiceWorkerRegistrationInfo::IS_NOT_DELETED); 302 ServiceWorkerRegistrationInfo::IS_NOT_DELETED);
304 } 303 }
305 304
306 void ServiceWorkerContextWatcher::OnRegistrationDeleted(int64_t registration_id, 305 void ServiceWorkerContextWatcher::OnRegistrationDeleted(int64_t registration_id,
307 const GURL& pattern) { 306 const GURL& pattern) {
308 SendRegistrationInfo(registration_id, pattern, 307 SendRegistrationInfo(registration_id, pattern,
309 ServiceWorkerRegistrationInfo::IS_DELETED); 308 ServiceWorkerRegistrationInfo::IS_DELETED);
310 } 309 }
311 310
312 } // namespace content 311 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698