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

Side by Side Diff: content/browser/resource_context_impl.h

Issue 759203002: [ServiceWorker] Make Stream support in ServiceWorkerURLRequestJob (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AbortPendingStream 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
« no previous file with comments | « base/supports_user_data.h ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RESOURCE_CONTEXT_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
7 7
8 #include "content/common/content_export.h"
8 #include "content/public/browser/resource_context.h" 9 #include "content/public/browser/resource_context.h"
9 10
10 namespace content { 11 namespace content {
11 12
12 class ChromeBlobStorageContext; 13 class ChromeBlobStorageContext;
13 class StreamContext; 14 class StreamContext;
14 class BrowserContext; 15 class BrowserContext;
15 class URLDataManagerBackend; 16 class URLDataManagerBackend;
16 17
17 // Getters for objects that are part of BrowserContext which are also used on 18 // Getters for objects that are part of BrowserContext which are also used on
18 // the IO thread. These are only accessed by content so they're not on the 19 // the IO thread. These are only accessed by content so they're not on the
19 // public API. 20 // public API.
20 21
21 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( 22 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
22 ResourceContext* resource_context); 23 const ResourceContext* resource_context);
23 24
24 StreamContext* GetStreamContextForResourceContext( 25 CONTENT_EXPORT StreamContext* GetStreamContextForResourceContext(
25 ResourceContext* resource_context); 26 const ResourceContext* resource_context);
26 27
27 URLDataManagerBackend* GetURLDataManagerForResourceContext( 28 URLDataManagerBackend* GetURLDataManagerForResourceContext(
28 ResourceContext* context); 29 ResourceContext* context);
29 30
30 // Initialize the above data on the ResourceContext from a given BrowserContext. 31 // Initialize the above data on the ResourceContext from a given BrowserContext.
31 void InitializeResourceContext(BrowserContext* browser_context); 32 CONTENT_EXPORT void InitializeResourceContext(BrowserContext* browser_context);
32 33
33 } // namespace content 34 } // namespace content
34 35
35 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 36 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « base/supports_user_data.h ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698