Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: content/browser/service_worker/service_worker_provider_host.h

Issue 70533005: More scaffolding, add class ServiceWorkerProviderHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698