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

Unified Diff: content/browser/resource_context.h

Issue 9371025: Move resource_context.h to content/public/browser. Remove the workaround in its destructor since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/resource_message_filter.cc ('k') | content/browser/resource_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resource_context.h
===================================================================
--- content/browser/resource_context.h (revision 121287)
+++ content/browser/resource_context.h (working copy)
@@ -1,62 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_H_
-#define CONTENT_BROWSER_RESOURCE_CONTEXT_H_
-
-#include <map>
-
-#include "base/basictypes.h"
-#include "base/callback_forward.h"
-#include "base/memory/ref_counted.h"
-#include "content/common/content_export.h"
-
-class AudioManager;
-class ChromeAppCacheService;
-class ChromeBlobStorageContext;
-class MediaObserver;
-namespace fileapi {
-class FileSystemContext;
-} // namespace fileapi
-namespace media_stream {
-class MediaStreamManager;
-} // namespace media_stream
-namespace net {
-class HostResolver;
-class URLRequestContext;
-} // namespace net
-namespace quota {
-class QuotaManager;
-}; // namespace quota
-namespace webkit_database {
-class DatabaseTracker;
-} // namespace webkit_database
-
-namespace content {
-
-class HostZoomMap;
-
-// ResourceContext contains the relevant context information required for
-// resource loading. It lives on the IO thread, although it is constructed on
-// the UI thread.
-class CONTENT_EXPORT ResourceContext {
- public:
- virtual ~ResourceContext();
-
- virtual net::HostResolver* GetHostResolver() = 0;
- virtual net::URLRequestContext* GetRequestContext() = 0;
- virtual ChromeAppCacheService* GetAppCacheService() = 0;
- virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
- virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;
- virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0;
- virtual quota::QuotaManager* GetQuotaManager() = 0;
- virtual HostZoomMap* GetHostZoomMap() = 0;
- virtual MediaObserver* GetMediaObserver() = 0;
- virtual media_stream::MediaStreamManager* GetMediaStreamManager() = 0;
- virtual AudioManager* GetAudioManager() = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RESOURCE_CONTEXT_H_
« no previous file with comments | « content/browser/renderer_host/resource_message_filter.cc ('k') | content/browser/resource_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698