Chromium Code Reviews| Index: content/browser/service_worker/service_worker_context.h |
| diff --git a/content/browser/service_worker/service_worker_context.h b/content/browser/service_worker/service_worker_context.h |
| index 5b290b7a317cc17edb3aea28c40adb9fdb6b8d76..f0fbf2a0a7ae4f3f7d6e0f77d8c669ee703851bb 100644 |
| --- a/content/browser/service_worker/service_worker_context.h |
| +++ b/content/browser/service_worker/service_worker_context.h |
| @@ -7,6 +7,7 @@ |
| #include "base/files/file_path.h" |
| #include "base/memory/ref_counted.h" |
| +#include "content/common/content_export.h" |
| namespace base { |
| class FilePath; |
| @@ -23,7 +24,7 @@ namespace content { |
| // - persistent storage of pattern -> service worker scripts |
| // - initialization and initial installation of service workers |
| // - dispatching of non-fetch events to service workers |
| -class ServiceWorkerContext |
| +class CONTENT_EXPORT ServiceWorkerContext |
| : public base::RefCountedThreadSafe<ServiceWorkerContext> { |
| public: |
| // This is owned by the StoragePartition, which will supply it with |
| @@ -31,12 +32,16 @@ class ServiceWorkerContext |
| ServiceWorkerContext(const base::FilePath& path, |
| quota::QuotaManagerProxy* quota_manager_proxy); |
| + bool enabled(); |
|
jam
2013/10/31 20:39:29
nit: per style guide, this has to be capitalized s
|
| + |
| private: |
| friend class base::RefCountedThreadSafe<ServiceWorkerContext>; |
| ~ServiceWorkerContext(); |
| scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; |
| base::FilePath path_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContext); |
| }; |
| } // namespace content |