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

Unified Diff: content/public/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/content_browser.gypi ('k') | content/shell/shell_resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_context.h
===================================================================
--- content/public/browser/resource_context.h (revision 121287)
+++ content/public/browser/resource_context.h (working copy)
@@ -2,15 +2,10 @@
// 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_
+#ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
+#define CONTENT_PUBLIC_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;
@@ -40,9 +35,9 @@
// 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 {
+class ResourceContext {
public:
- virtual ~ResourceContext();
+ virtual ~ResourceContext() {}
virtual net::HostResolver* GetHostResolver() = 0;
virtual net::URLRequestContext* GetRequestContext() = 0;
@@ -59,4 +54,4 @@
} // namespace content
-#endif // CONTENT_BROWSER_RESOURCE_CONTEXT_H_
+#endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
« no previous file with comments | « content/content_browser.gypi ('k') | content/shell/shell_resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698