| 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_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_H_ | 
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_H_ | 
| 7 | 7 | 
|  | 8 #include "base/basictypes.h" | 
|  | 9 | 
| 8 namespace content { | 10 namespace content { | 
| 9 | 11 | 
| 10 // Represents the per-BrowserContext ServiceWorker data. | 12 // Represents the per-BrowserContext ServiceWorker data. | 
| 11 class ServiceWorkerContext { | 13 class ServiceWorkerContext { | 
| 12  public: | 14  public: | 
| 13 |  | 
| 14   // TODO(michaeln): This class is a place holder for content/public api | 15   // TODO(michaeln): This class is a place holder for content/public api | 
| 15   // which will come later. Promote this class when we get there. | 16   // which will come later. Promote this class when we get there. | 
| 16 | 17 | 
| 17  protected: | 18  protected: | 
| 18   ServiceWorkerContext() {} | 19   ServiceWorkerContext() {} | 
| 19   virtual ~ServiceWorkerContext() {} | 20   virtual ~ServiceWorkerContext() {} | 
|  | 21 | 
|  | 22  private: | 
|  | 23   DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContext); | 
| 20 }; | 24 }; | 
| 21 | 25 | 
| 22 }  // namespace content | 26 }  // namespace content | 
| 23 | 27 | 
| 24 #endif  // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_H_ | 28 #endif  // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_H_ | 
| OLD | NEW | 
|---|