| OLD | NEW |
| 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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 bool is_incognito() const { return is_incognito_; } | 160 bool is_incognito() const { return is_incognito_; } |
| 161 | 161 |
| 162 private: | 162 private: |
| 163 friend class BackgroundSyncManagerTest; | 163 friend class BackgroundSyncManagerTest; |
| 164 friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>; | 164 friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>; |
| 165 friend class EmbeddedWorkerTestHelper; | 165 friend class EmbeddedWorkerTestHelper; |
| 166 friend class EmbeddedWorkerBrowserTest; | 166 friend class EmbeddedWorkerBrowserTest; |
| 167 friend class ServiceWorkerDispatcherHost; | 167 friend class ServiceWorkerDispatcherHost; |
| 168 friend class ServiceWorkerInternalsUI; | 168 friend class ServiceWorkerInternalsUI; |
| 169 friend class ServiceWorkerNavigationHandleCore; |
| 169 friend class ServiceWorkerProcessManager; | 170 friend class ServiceWorkerProcessManager; |
| 170 friend class ServiceWorkerRequestHandler; | 171 friend class ServiceWorkerRequestHandler; |
| 171 friend class ServiceWorkerVersionBrowserTest; | 172 friend class ServiceWorkerVersionBrowserTest; |
| 172 friend class MockServiceWorkerContextWrapper; | 173 friend class MockServiceWorkerContextWrapper; |
| 173 | 174 |
| 174 ~ServiceWorkerContextWrapper() override; | 175 ~ServiceWorkerContextWrapper() override; |
| 175 | 176 |
| 176 void InitInternal( | 177 void InitInternal( |
| 177 const base::FilePath& user_data_directory, | 178 const base::FilePath& user_data_directory, |
| 178 scoped_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager, | 179 scoped_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 225 |
| 225 // The ResourceContext associated with this context. | 226 // The ResourceContext associated with this context. |
| 226 ResourceContext* resource_context_; | 227 ResourceContext* resource_context_; |
| 227 | 228 |
| 228 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper); | 229 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper); |
| 229 }; | 230 }; |
| 230 | 231 |
| 231 } // namespace content | 232 } // namespace content |
| 232 | 233 |
| 233 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ | 234 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ |
| OLD | NEW |