Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8a85a2adf4726950551bec69499fa78fbef18f13 |
--- /dev/null |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
+#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
+ |
+#include <map> |
+ |
+namespace content { |
+ |
+// todo: class comment goes here! |
+class ServiceWorkerProviderHost { |
+ public: |
+ ServiceWorkerProviderHost(int provider_id); |
+ ~ServiceWorkerProviderHost(); |
+ |
+ int provider_id() const { return provider_id_; } |
+ |
+ private: |
+ const int provider_id_; |
+}; |
+ |
+typedef std::map<int, ServiceWorkerProviderHost*> ServiceWorkerProviderHostMap; |
kinuko
2013/11/18 05:57:24
This one's primarily for id to host.. correct?
michaeln
2013/11/18 20:18:17
yes, added a comment
|
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |