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

Side by Side Diff: content/child/service_worker/web_service_worker_provider_impl.h

Issue 854543002: ServiceWorker: Rename ScriptClientMap to ProviderClientMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 WebServiceWorkerUnregistrationCallbacks*); 41 WebServiceWorkerUnregistrationCallbacks*);
42 42
43 virtual void getRegistration(const blink::WebURL& document_url, 43 virtual void getRegistration(const blink::WebURL& document_url,
44 WebServiceWorkerGetRegistrationCallbacks*); 44 WebServiceWorkerGetRegistrationCallbacks*);
45 45
46 ServiceWorkerProviderContext* context() { return context_.get(); } 46 ServiceWorkerProviderContext* context() { return context_.get(); }
47 47
48 int provider_id() const { return provider_id_; } 48 int provider_id() const { return provider_id_; }
49 49
50 private: 50 private:
51 void RemoveScriptClient(); 51 void RemoveProviderClient();
52 ServiceWorkerDispatcher* GetDispatcher(); 52 ServiceWorkerDispatcher* GetDispatcher();
53 53
54 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 54 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
55 scoped_refptr<ServiceWorkerProviderContext> context_; 55 scoped_refptr<ServiceWorkerProviderContext> context_;
56 const int provider_id_; 56 const int provider_id_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerProviderImpl); 58 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerProviderImpl);
59 }; 59 };
60 60
61 } // namespace content 61 } // namespace content
62 62
63 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ 63 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698