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

Unified Diff: content/browser/appcache/appcache_url_request_job.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_url_request_job.h
diff --git a/webkit/browser/appcache/appcache_url_request_job.h b/content/browser/appcache/appcache_url_request_job.h
similarity index 90%
rename from webkit/browser/appcache/appcache_url_request_job.h
rename to content/browser/appcache/appcache_url_request_job.h
index 01c80a115eb22ed0d7bba3a8dc4da20a323190fb..4b9bbcd07b2c57d4252e0f22fc079a44185d6d45 100644
--- a/webkit/browser/appcache/appcache_url_request_job.h
+++ b/content/browser/appcache/appcache_url_request_job.h
@@ -2,19 +2,19 @@
// 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_URL_REQUEST_JOB_H_
-#define WEBKIT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
+#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
+#define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_REQUEST_JOB_H_
#include <string>
#include "base/memory/weak_ptr.h"
+#include "content/browser/appcache/appcache_entry.h"
+#include "content/browser/appcache/appcache_executable_handler.h"
+#include "content/browser/appcache/appcache_response.h"
+#include "content/browser/appcache/appcache_storage.h"
+#include "content/common/content_export.h"
#include "net/http/http_byte_range.h"
#include "net/url_request/url_request_job.h"
-#include "webkit/browser/appcache/appcache_entry.h"
-#include "webkit/browser/appcache/appcache_executable_handler.h"
-#include "webkit/browser/appcache/appcache_response.h"
-#include "webkit/browser/appcache/appcache_storage.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
namespace content {
class AppCacheRequestHandlerTest;
@@ -25,13 +25,13 @@ namespace net {
class GrowableIOBuffer;
};
-namespace appcache {
+namespace content {
class AppCacheHost;
// A net::URLRequestJob derivative that knows how to return a response stored
// in the appcache.
-class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheURLRequestJob
+class CONTENT_EXPORT AppCacheURLRequestJob
: public net::URLRequestJob,
public AppCacheStorage::Delegate {
public:
@@ -177,6 +177,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheURLRequestJob
base::WeakPtrFactory<AppCacheURLRequestJob> weak_factory_;
};
-} // namespace appcache
+} // namespace content
-#endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_
+#endif // CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698