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

Unified Diff: content/public/browser/resource_context.h

Issue 11365253: Add empty constructor/destructor to ResourceContext on iOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove iOS constructor Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_context.h
diff --git a/content/public/browser/resource_context.h b/content/public/browser/resource_context.h
index ba7cf309b1c436935b99500c5703d5fdc5aa2486..7acfff47a8ef433ae2cce16286df2de5c458cee2 100644
--- a/content/public/browser/resource_context.h
+++ b/content/public/browser/resource_context.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/supports_user_data.h"
+#include "build/build_config.h"
#include "content/common/content_export.h"
namespace appcache {
@@ -25,8 +26,12 @@ namespace content {
// the UI thread. It must be destructed on the IO thread.
class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
public:
+#if defined(OS_IOS)
+ virtual ~ResourceContext() {}
+#else
ResourceContext();
virtual ~ResourceContext();
+#endif
virtual net::HostResolver* GetHostResolver() = 0;
// DEPRECATED: This is no longer a valid given isolated apps/sites and
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698