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

Side by Side Diff: content/browser/streams/stream_registry.h

Issue 759203002: [ServiceWorker] Make Stream support in ServiceWorkerURLRequestJob (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include set Created 6 years 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_STREAMS_STREAM_REGISTRY_H_ 5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_
6 #define CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ 6 #define CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set>
9 10
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
13 #include "content/browser/streams/stream_register_observer.h" 14 #include "content/browser/streams/stream_register_observer.h"
14 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
15 #include "url/gurl.h" 16 #include "url/gurl.h"
16 17
17 namespace content { 18 namespace content {
18 19
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Maximum amount of memory allowed to use for Stream instances registered 71 // Maximum amount of memory allowed to use for Stream instances registered
71 // with this registry. 72 // with this registry.
72 size_t max_memory_usage_; 73 size_t max_memory_usage_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(StreamRegistry); 75 DISALLOW_COPY_AND_ASSIGN(StreamRegistry);
75 }; 76 };
76 77
77 } // namespace content 78 } // namespace content
78 79
79 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ 80 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698