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

Unified Diff: content/browser/appcache/appcache_executable_handler.h

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: content/browser/appcache/appcache_executable_handler.h
diff --git a/webkit/browser/appcache/appcache_executable_handler.h b/content/browser/appcache/appcache_executable_handler.h
similarity index 75%
rename from webkit/browser/appcache/appcache_executable_handler.h
rename to content/browser/appcache/appcache_executable_handler.h
index 43ee0a39e2d8291e06b0aa9c60b543b7e4c98d08..445a6cd12a3f3243aa98f165e3ec598deab068ef 100644
--- a/webkit/browser/appcache/appcache_executable_handler.h
+++ b/content/browser/appcache/appcache_executable_handler.h
@@ -2,23 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
-#define WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
+#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
+#define CONTENT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
#include "url/gurl.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
namespace net {
class IOBuffer;
class URLRequest;
}
-namespace appcache {
+namespace content {
// An interface that must be provided by the embedder to support this feature.
-class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheExecutableHandler {
+class CONTENT_EXPORT AppCacheExecutableHandler {
public:
// A handler can respond in one of 4 ways, if each of the GURL fields
// in 'Response' are empty and use_network is false, an error response is
@@ -40,7 +40,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheExecutableHandler {
};
// A factory to produce instances.
-class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheExecutableHandlerFactory {
+class CONTENT_EXPORT AppCacheExecutableHandlerFactory {
public:
virtual scoped_ptr<AppCacheExecutableHandler> CreateHandler(
const GURL& handler_url, net::IOBuffer* handler_source) = 0;
@@ -49,6 +49,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheExecutableHandlerFactory {
virtual ~AppCacheExecutableHandlerFactory() {}
};
-} // namespace appcache
+} // namespace content
-#endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_
+#endif // CONTENT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698