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

Side by Side Diff: content/browser/shared_worker/worker_document_set.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 months 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SHARED_WORKER_WORKER_DOCUMENT_SET_H_ 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_WORKER_DOCUMENT_SET_H_
6 #define CONTENT_BROWSER_SHARED_WORKER_WORKER_DOCUMENT_SET_H_ 6 #define CONTENT_BROWSER_SHARED_WORKER_WORKER_DOCUMENT_SET_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
12 11
13 namespace content { 12 namespace content {
14 class BrowserMessageFilter; 13 class BrowserMessageFilter;
15 14
16 // The WorkerDocumentSet tracks all of the DOM documents associated with a 15 // The WorkerDocumentSet tracks all of the DOM documents associated with a
17 // set of workers. With nested workers, multiple workers can share the same 16 // set of workers. With nested workers, multiple workers can share the same
18 // WorkerDocumentSet (meaning that they all share the same lifetime, and will 17 // WorkerDocumentSet (meaning that they all share the same lifetime, and will
19 // all exit when the last document in that set exits, per the WebWorkers spec). 18 // all exit when the last document in that set exits, per the WebWorkers spec).
20 class WorkerDocumentSet : public base::RefCounted<WorkerDocumentSet> { 19 class WorkerDocumentSet : public base::RefCounted<WorkerDocumentSet> {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 private: 86 private:
88 friend class base::RefCounted<WorkerDocumentSet>; 87 friend class base::RefCounted<WorkerDocumentSet>;
89 virtual ~WorkerDocumentSet(); 88 virtual ~WorkerDocumentSet();
90 89
91 DocumentInfoSet document_set_; 90 DocumentInfoSet document_set_;
92 }; 91 };
93 92
94 } // namespace content 93 } // namespace content
95 94
96 #endif // CONTENT_BROWSER_SHARED_WORKER_WORKER_DOCUMENT_SET_H_ 95 #endif // CONTENT_BROWSER_SHARED_WORKER_WORKER_DOCUMENT_SET_H_
OLDNEW
« no previous file with comments | « content/browser/shared_worker/worker_browsertest.cc ('k') | content/browser/signed_certificate_timestamp_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698