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

Side by Side Diff: content/public/browser/resource_context.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 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
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_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/supports_user_data.h" 14 #include "base/supports_user_data.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 17
18 class GURL; 18 class GURL;
19 19
20 namespace net { 20 namespace net {
21 class HostResolver; 21 class HostResolver;
22 class KeygenHandler; 22 class KeygenHandler;
23 class URLRequestContext; 23 class URLRequestContext;
24 } 24 }
25 25
26 namespace content { 26 namespace content {
27 27
28 class AppCacheService;
29
30 // ResourceContext contains the relevant context information required for 28 // ResourceContext contains the relevant context information required for
31 // resource loading. It lives on the IO thread, although it is constructed on 29 // resource loading. It lives on the IO thread, although it is constructed on
32 // the UI thread. It must be destructed on the IO thread. 30 // the UI thread. It must be destructed on the IO thread.
33 class CONTENT_EXPORT ResourceContext : public base::SupportsUserData { 31 class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
34 public: 32 public:
35 ResourceContext(); 33 ResourceContext();
36 ~ResourceContext() override; 34 ~ResourceContext() override;
37 virtual net::HostResolver* GetHostResolver() = 0; 35 virtual net::HostResolver* GetHostResolver() = 0;
38 36
39 // DEPRECATED: This is no longer a valid given isolated apps/sites and 37 // DEPRECATED: This is no longer a valid given isolated apps/sites and
(...skipping 19 matching lines...) Expand all
59 // 2) The embedder saves its salt across restarts. 57 // 2) The embedder saves its salt across restarts.
60 static std::string CreateRandomMediaDeviceIDSalt(); 58 static std::string CreateRandomMediaDeviceIDSalt();
61 59
62 private: 60 private:
63 const std::string media_device_id_salt_; 61 const std::string media_device_id_salt_;
64 }; 62 };
65 63
66 } // namespace content 64 } // namespace content
67 65
68 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 66 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view_frame_subscriber.h ('k') | content/public/browser/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698