OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | |
7 | |
8 #include <map> | |
9 | |
10 namespace content { | |
11 | |
12 // todo: class comment goes here! | |
13 class ServiceWorkerProviderHost { | |
14 public: | |
15 ServiceWorkerProviderHost(int provider_id); | |
16 ~ServiceWorkerProviderHost(); | |
17 | |
18 int provider_id() const { return provider_id_; } | |
19 | |
20 private: | |
21 const int provider_id_; | |
22 }; | |
23 | |
24 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
| |
25 | |
26 } // namespace content | |
27 | |
28 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | |
OLD | NEW |