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

Unified Diff: public/platform/WebApplicationCacheHost.h

Issue 161213003: Fix layering of ApplicationCacheHost (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: The real thing Created 6 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 | « Source/web/web.gypi ('k') | public/platform/WebApplicationCacheHostClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebApplicationCacheHost.h
diff --git a/public/web/WebApplicationCacheHost.h b/public/platform/WebApplicationCacheHost.h
similarity index 95%
copy from public/web/WebApplicationCacheHost.h
copy to public/platform/WebApplicationCacheHost.h
index 4c7fef522873f5623150c4ae1f3b1c7f4e4a4a35..beb09d6360929d82320ff8d7dee8519253e00431 100644
--- a/public/web/WebApplicationCacheHost.h
+++ b/public/platform/WebApplicationCacheHost.h
@@ -31,9 +31,9 @@
#ifndef WebApplicationCacheHost_h
#define WebApplicationCacheHost_h
-#include "../platform/WebCommon.h"
-#include "../platform/WebURL.h"
-#include "../platform/WebVector.h"
+#include "WebCommon.h"
+#include "WebURL.h"
+#include "WebVector.h"
namespace blink {
@@ -75,9 +75,11 @@ public:
// Called for every request made within the context.
virtual void willStartMainResourceRequest(WebURLRequest& r, const WebApplicationCacheHost* spawningHost) { }
- virtual void willStartMainResourceRequest(WebURLRequest& r, const WebFrame*) { }
virtual void willStartSubResourceRequest(WebURLRequest&) { }
+ // FIXME: Only needed to keep clang happy until Chromium stops overriding it.
+ virtual void willStartMainResourceRequest(WebURLRequest& r, const WebFrame*) { }
+
// One or the other selectCache methods is called after having parsed the <html> tag.
// The latter returns false if the current document has been identified as a "foreign"
// entry, in which case the frame navigation will be restarted by webkit.
@@ -118,6 +120,6 @@ public:
virtual void deleteAssociatedCacheGroup() { }
};
-} // namespace blink
+} // namespace blink
-#endif // WebApplicationCacheHost_h
+#endif // WebApplicationCacheHost_h
« no previous file with comments | « Source/web/web.gypi ('k') | public/platform/WebApplicationCacheHostClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698